John ha scritto:
78 calls seems too few to collect significative measure. Try to collect
more sample (in the order of thousands or better millions call.
John ha scritto:
78 calls seems too few to collect significative measure. Try to collect
more sample (in the order of thousands or better millions call.
After I read a very big file, the time still is 0.
$ gprof.exe test_ORCfile.exe gmon.out
Flat profile:
Each sample counts as 0.01 seconds.
no time accumulated
% cumulative self self total
time seconds seconds calls Ts/call Ts/call name
0.00 0.00 0.00 2462420 0.00 0.00 ORCfilegetline
0.00 0.00 0.00 4 0.00 0.00 ORCstrlen
0.00 0.00 0.00 4 0.00 0.00 ORCstrncpy
0.00 0.00 0.00 1 0.00 0.00 ORCcheckerror
0.00 0.00 0.00 1 0.00 0.00 ORCfilecreate
0.00 0.00 0.00 1 0.00 0.00 ORCfilefree
0.00 0.00 0.00 1 0.00 0.00 ORCfilegetinfo
0.00 0.00 0.00 1 0.00 0.00
ORCfilegetmaxline
0.00 0.00 0.00 1 0.00 0.00 ORCfileopen
0.00 0.00 0.00 1 0.00 0.00
ORCfilestatistics
$ gprof.exe -v
GNU gprof (GNU Binutils) 2.18.50.20080625
Based on BSD gprof, copyright 1983 Regents of the University of
California.
This program is free software. This program has absolutely no
warranty.
$ cygcheck.exe -c cygwin
Cygwin Package Information
Package Version Status
cygwin 1.7.1-1 OK
what is the reason??
John Cui