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
I recently tore my hair out debugging this piece of code (slightly modified for simplicity of presentation): char *packedData; unsigned char* indexBegin, *indexEnd; int block, row; // +------ bad! // v int cRow = std::upper_bound( indexBegin, indexEnd, row&255 ) - indexBegin - 1; char value = *(packedData + (block + [...] read more
Why is NumberFormatException is thrown when i try Integer.parseInt("80000010", 16)?? That IS a 32-bit number, which is the size of java's int. EDIT: The best part is this... int z = 0x80000010; System.err.println("equal to " + z); Prints -2147483632 which is indeed 0x80000010 according to my calculator ;) 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
Application runs in a background, communicates with BLE device. It was working fine in our testing, but now we are getting crashes. Crash report shows below details, here on thread 15 crash occurs. it show's related to CPU cycles. Incident Identifier: 8F9083BF-497C-4441-BBB5-8554C875808A CrashReporter Key: 0e515d51d2295f1e4cd5e5820df913a684243b28 Hardware Model: iPad2,6 Process: backboardd [...] read more
Does compiling with the iOS 4.3 SDK remove the support for the iPhone 3G and 2nd generation iPod touch devices? After upgrading, I found that the ad-hoc and distribution builds no longer run on those devices, but installing the iOS 4.2 SDK to another directory, and performing no changes to [...] 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
I have cross-compiled Qt 5.1.1 for an i.MX6 powered Nitrogen6x board running Debian 7 (wheezy). I have configured Qt with the -egl parameter and eglfs has been listed as QPA backend in the configure output. However if I try to run a small example application with the -platform eglfs parameter [...] 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
Mips Instruction Format : 00010110001100101111111111111110 In this case the instruction is located at address 0x80000014 It's and BNE instruction with Operands : Rs = $s2 and Rt = $s1, with an offset of -2 I know it's possible to solve this question via this formulae : Pc+4-offset which in this [...] read more
In diskperf filter driver how can I get the partition info of all the partitions. I am using IOCTL_DISK_GET_DRIVE_LAYOUT_EX ioctl to get the partition information. I am able to get details of partitions from one disk. But if there are more then one disks then how can I gets details [...] read more