diff --git a/gprof2dot.py b/gprof2dot.py index 2628961..3e95403 100644 --- a/gprof2dot.py +++ b/gprof2dot.py @@ -320,7 +320,7 @@ def call_ratios(self, event): call[CALL_RATIO] = ratio(call[event], total) def integrate(self, outevent, inevent): - """Propagate function time ratio allong the function calls. + """Propagate function time ratio along the function calls. Must be called after finding the cycles. @@ -510,7 +510,7 @@ def prune(self, node_thres, edge_thres): except UndefinedEvent: pass - # prune the egdes + # prune the edges for function in self.functions.itervalues(): for callee_id in function.calls.keys(): call = function.calls[callee_id] @@ -1633,13 +1633,13 @@ def _hue_to_rgb(self, m1, m2, h): TEMPERATURE_COLORMAP = Theme( mincolor = (2.0/3.0, 0.80, 0.25), # dark blue - maxcolor = (0.0, 1.0, 0.5), # satured red + maxcolor = (0.0, 1.0, 0.5), # saturated red gamma = 1.0 ) PINK_COLORMAP = Theme( mincolor = (0.0, 1.0, 0.90), # pink - maxcolor = (0.0, 1.0, 0.5), # satured red + maxcolor = (0.0, 1.0, 0.5), # saturated red ) GRAY_COLORMAP = Theme(