Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gprof2dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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(
Expand Down