Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for lml108

The 'perf stat' output for a certain executable is shown below. 2,207,929,785,602 cpu-cycles # 1.098 GHz [58.33%] 955,083,725,303 instructions # 0.43 insns per cycle [58.33%] 412,816,464,977 cache-references # 205.308 M/sec [58.33%] 38,645,898,456 cache-misses # 9.362 % of all cache refs [58.33%] 4,692,761,524 branch-misses # 2.334 M/sec [58.33%] 0 ref-cycles # …

Member Avatar for rubberman
0
265
Member Avatar for lml108

Hi, I'm running a C++ program (HPCG benchmark) on an ARM processor based board (Juno) with 64-bit Fedora 21 OS. When I run perf top in another terminal to find which functions are taking more CPU time, I get an output like below. 75.84 xhpcg [.] ComputeSYMGS_ref 22.27% xhpcg [.] …

Member Avatar for rubberman
0
162
Member Avatar for lml108

Hi, I downloaded the file package (version 5.18) from ftp://ftp.astron.com/pub/file/ For some reasons, I needed to build this 'file' package from sources. So on an x86 Linux machine, I built it from sources. (Linux 2.6.18-238.5.1.el5 #1 SMP Mon Feb 21 05:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux) I built the …

Member Avatar for Bogdan V.
0
1K
Member Avatar for lml108

Hi, I've a file having some regular expressions. e.g. cat regex.txt [\t\n] abc.*pqr If I write a small bash script as below, while read line do echo -E "$line" done < regex.txt even with -E switch passed to echo the output is [tn] abc.*pqr So the backslashes have vanished in …

Member Avatar for Fest3er
0
85
Member Avatar for lml108

#!/bin/bash echo -e "10\n20\n100\n200" > file.txt number=0 cat file.txt | \ while read line do if test $line -gt 100 then number=$line echo "Inside while loop number=$number" break fi done echo "Outside while loop number=$number" The output of this script is Inside while loop number=200 Outside while loop number=0 Why …

Member Avatar for fpmurphy
0
113