I want to get into PAPI. I have Version 5.3.2.0 on Debian GNU/Linux. papi_avail just tells me that no hardware events are available: $ papi_avail Available events and hardware information. -------------------------------------------------------------------------------- PAPI Version : 5.3.2.0 Vendor string and code : GenuineIntel (1) Model string and code : Intel(R) Core(TM) i3-5010U [...] read more
In c# I have Error codes defined as public const uint SOME_ERROR= 0x80000009; I want to write the 0x80000009 to a text file, right now I am trying private static uint ErrorCode; ErrorCode = SomeMethod(); string message = "Error: {0}."; message = string.Format(message, ErrorCode); But that writes it out as [...] read more
I want to write a c program that listen to a socket and get payload for a specific TCP protocol and send response. I have a problem in assigning value to response packet fields. At first i created the protocol packet structures : struct header { unsigned int field_1:32; unsigned [...] read more
Working with SMPP protocol I used long to represent values of system_id field of type unsigned int (4 bytes). In protocol itself field values are specified in hexademical format. So I wanted to preserve it in my code. While trying to compare the variable value i wrote: long id = [...] read more
This question is related to a previous one on OSPF routing. Based on the advice give to the previous question, I have now made myself a network diagram, identified the backbone area and all other areas and started configuring OSPF on the various routers. All the HP ProCurve 7102dl routers [...] read more
I have two different systems running restcomm smsc gw. I'm trying to configure one as a server side and other as client side. Logs for both PC are given below: SERVER ERROR 10:40:32,975 INFO [SmppServerConnector] (SmppManagement) New channel from [172.31.130.126:33712] 10:40:33,020 INFO [UnboundSmppSession] (SmppManagement.UnboundSession.172.31.130.126:33712) received PDU: (bind_transceiver: 0x0000002F 0x00000009 0x00000000 [...] read more
For my application (SpMV) I have more data cache misses (PAPI_L1_DCM) than total cache misses (PAPI_L1_TCM) in level 1 cache. How can that be? For Level 2 the values are ok. That is, what the PAPI counters offer: [PAPI_L1_ICM ][PAPI_L1_DCM ][PAPI_L1_TCM ][PAPI_L2_ICM ][PAPI_L2_DCM ][PAPI_L2_TCM ] 1256 3388225 1442386 1007 2389903 [...] read more
I'm trying to use RAPI to monitor the performance of my Xeon Phi code. I just compiled and installed a native version of RAPI follwoing the documentation. And the following list is what I get when I execute "rapi_avail" on my Xeon Phi which shall display all available events. Surprisingly, [...] read more
<?php /* File : smppclass.php Implements : SMPPClass() Description : This class can send messages via the SMPP protocol. Also supports unicode and multi-part messages. License : GNU Lesser Genercal Public License: http://www.gnu.org/licenses/lgpl.html Commercial advertisement: Contact info@chimit.nl for SMS connectivity and more elaborate SMPP libraries in PHP and other languages. [...] read more
I am trying to use DES encryption/decryption on Google chrome. In my folder I have three files. 1. tripledes.js 2. mode-ecb.js 3. CryptoJS-DES.html The scripts in my html file is defined as follows :- <script type="text/javascript" src="tripledes.js"></script> <script type="text/javascript" src="mode-ecb.js"></script> and another script file which is :- function encryptByDES(message, key) [...] read more