diff options
author | Timothy Pearson <[email protected]> | 2012-01-30 12:23:09 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-01-30 12:23:09 -0600 |
commit | 2020f146a7175288d0aaf15cd91b95e545bbb915 (patch) | |
tree | 82574d787cef440ad56a6e818d03e908caf3d07d /kcachegrind/converters | |
parent | 53b45e0887a2838628521c6086b48b9b4ffe41a4 (diff) | |
download | tdesdk-2020f146a7175288d0aaf15cd91b95e545bbb915.tar.gz tdesdk-2020f146a7175288d0aaf15cd91b95e545bbb915.zip |
Rename ksocket and kcache
Diffstat (limited to 'kcachegrind/converters')
-rw-r--r-- | kcachegrind/converters/README | 2 | ||||
-rw-r--r-- | kcachegrind/converters/dprof2calltree | 4 | ||||
-rw-r--r-- | kcachegrind/converters/hotshot2calltree | 14 | ||||
-rw-r--r-- | kcachegrind/converters/pprof2calltree | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/kcachegrind/converters/README b/kcachegrind/converters/README index 6a1c46c5..c27d3c6d 100644 --- a/kcachegrind/converters/README +++ b/kcachegrind/converters/README @@ -18,7 +18,7 @@ Thanks go to hotshot2calltree If you want to write a converter, have a look at the calltree format -description on the web site (kcachegrind.sf.net). +description on the web site (tdecachegrind.sf.net). Josef diff --git a/kcachegrind/converters/dprof2calltree b/kcachegrind/converters/dprof2calltree index 940457c8..f276e188 100644 --- a/kcachegrind/converters/dprof2calltree +++ b/kcachegrind/converters/dprof2calltree @@ -53,7 +53,7 @@ # This creates a cachegrind-style file called cachgrind.out.tmon.out or # cachegrind.out.foo, respecitvely. # -# 3) Run kcachegrind cachegrind.out.foo +# 3) Run tdecachegrind cachegrind.out.foo # # 4) Enjoy! @@ -171,7 +171,7 @@ foreach my $specifier ( keys %$tree ) { } $output .= "\n"; } -print STDERR "Writing kcachegrind output to $outfile\n"; +print STDERR "Writing tdecachegrind output to $outfile\n"; $outfd->print($output); diff --git a/kcachegrind/converters/hotshot2calltree b/kcachegrind/converters/hotshot2calltree index 4eb8f7de..f62a46e3 100644 --- a/kcachegrind/converters/hotshot2calltree +++ b/kcachegrind/converters/hotshot2calltree @@ -21,7 +21,7 @@ # # # This script transforms the pstat output of the hotshot -# python profiler into the input of kcachegrind. +# python profiler into the input of tdecachegrind. # # example usage: # modify you python script to run this code: @@ -40,8 +40,8 @@ # or here: # hotshot2cachegrind cachegrind.out.0 pythongrind.prof # -# then call kcachegrind: -# kcachegrind cachegrind.out.0 +# then call tdecachegrind: +# tdecachegrind cachegrind.out.0 # # TODO: # * es gibt Probleme mit rekursiven (direkt und indirekt) Aufrufen - dann @@ -140,7 +140,7 @@ def updateStatus(filecount): sys.stdout.write("reading File #%d \r" % filecount) sys.stdout.flush() def convertProfFiles(output, inputfilenames): - """convert all the given input files into one kcachegrind + """convert all the given input files into one tdecachegrind input file. """ call_dict = {} @@ -207,7 +207,7 @@ def handleCostPerPos(cost_per_pos, pos, current_cost): cost_per_pos[filename] = file_dict def convertProfFile(inputfilename, caller_stack, call_dict, cost_per_pos, cost_per_function): - """convert a single input file into one kcachegrind + """convert a single input file into one tdecachegrind data. this is the most expensive function in this python source :-) @@ -276,7 +276,7 @@ class TagWriter: # self.output.write("%s=%s\n" % (tag, value)) def dumpResults(output, call_dict, total_cost, cost_per_pos, cost_per_function): - """write the collected results in the format kcachegrind + """write the collected results in the format tdecachegrind could read. """ # the intro @@ -319,7 +319,7 @@ def dumpResults(output, call_dict, total_cost, cost_per_pos, cost_per_function): output.write("calls=%d\n%d %d\n" % (count, caller_x[1], cost)) tagwriter.clear() #tagwriter.clearTag("cob") - # is it a bug in kcachegrind, that the "cob=xxx" line has + # is it a bug in tdecachegrind, that the "cob=xxx" line has # to be rewritten after a calls entry with costline ? #assert cost <= total_cost, "caller_x: %s, per_caller_dict: %s " % (caller_x, per_caller_dict, ) #output.write("calls=%d\n%d %d\n" % (count, caller_x[1], cost)) diff --git a/kcachegrind/converters/pprof2calltree b/kcachegrind/converters/pprof2calltree index 59f8770d..0e70e1c2 100644 --- a/kcachegrind/converters/pprof2calltree +++ b/kcachegrind/converters/pprof2calltree @@ -34,7 +34,7 @@ # and is provided completely free and without any warranty. # # This script is designed to convert the pprof output from -# APD (http://pecl.php.net/apd/) to one readable by kcachegrind. To use +# APD (http://pecl.php.net/apd/) to one readable by tdecachegrind. To use # this script: # # 1) Install APD. @@ -204,7 +204,7 @@ foreach($tree as $caller => $data) { } print "\ntotals=$total_cost\n"; $buffer = ob_get_clean(); -print "Writing kcachegrind compatible output to $outfile\n"; +print "Writing tdecachegrind compatible output to $outfile\n"; fwrite($OUT, $buffer); function usage() |