Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ns/call ns/call name 66.67 0.12 0.12 cprintf 27.78 0.17 0.05 9225 5420.05 5420.05 VIF::WriteText(char *, char *) 5.56 0.18 0.01 main 0.00 0.18 0.00 287491 0.00 0.00 Accumulator::GetSize(void) 0.00 0.18 0.00 134604 0.00 0.00 Accumulator::ReadN(long, char *, long) 0.00 0.18 0.00 47250 0.00 0.00 BlockEditor::SelectionSize(void) 0.00 0.18 0.00 15561 0.00 0.00 BlockEditor::SelectionStart(long) 0.00 0.18 0.00 9675 0.00 0.00 Navigator::LineEnd(long) 0.00 0.18 0.00 9675 0.00 0.00 BlockEditor::SelectionEnd(long) 0.00 0.18 0.00 9675 0.00 0.00 BlockEditor::SelectionStart(void) 0.00 0.18 0.00 9450 0.00 0.00 VIF::BufferPos(long long, long long) 0.00 0.18 0.00 9450 0.00 0.00 VIF::BufferText(char *, char *) 0.00 0.18 0.00 9450 0.00 0.00 BlockEditor::Read(char *, int) 0.00 0.18 0.00 9450 0.00 0.00 BlockEditor::SelectionEnd(void) 0.00 0.18 0.00 9450 0.00 0.00 DisplayFilter1::Trim(char *, long, char *, long, long) 0.00 0.18 0.00 6120 0.00 0.00 Navigator::NextLine(long) 0.00 0.18 0.00 706 0.00 0.00 VIF::CursorPos(long long, long long) 0.00 0.18 0.00 225 0.00 222222.22 DisplayFilter1::ReDraw(void) 0.00 0.18 0.00 225 0.00 222222.22 VIF::ReDraw(void) 0.00 0.18 0.00 225 0.00 0.00 BlockEditor::Seek(long, int) 0.00 0.18 0.00 225 0.00 0.00 DisplayFilter1::SetScroll(long long, long long) 0.00 0.18 0.00 2 0.00 0.00 BlockEditor::SetAccumulator(Accumulator *) 0.00 0.18 0.00 2 0.00 0.00 Navigator::SetAccumulator(Accumulator *) 0.00 0.18 0.00 2 0.00 0.00 DisplayFilter1::SetDisplay(VIF *) 0.00 0.18 0.00 2 0.00 0.00 Accumulator::SetN(long, long, char *, long) 0.00 0.18 0.00 2 0.00 0.00 DisplayFilter1::SetSource(Accumulator *) 0.00 0.18 0.00 2 0.00 0.00 Accumulator::shift(long, long) 0.00 0.18 0.00 1 0.00 0.00 FileFilter1::LoadFile(Accumulator *, char *) 0.00 0.18 0.00 1 0.00 0.00 Accumulator::~Accumulator(void) 0.00 0.18 0.00 1 0.00 0.00 BlockEditor::~BlockEditor(void) 0.00 0.18 0.00 1 0.00 0.00 FileFilter1::~FileFilter1(void) 0.00 0.18 0.00 1 0.00 0.00 DisplayFilter1::~DisplayFilter1(void) 0.00 0.18 0.00 1 0.00 0.00 VIF::~VIF(void) 0.00 0.18 0.00 1 0.00 0.00 Navigator::~Navigator(void) 0.00 0.18 0.00 1 0.00 0.00 Accumulator::Accumulator(void) 0.00 0.18 0.00 1 0.00 0.00 BlockEditor::BlockEditor(void) 0.00 0.18 0.00 1 0.00 0.00 FileFilter1::FileFilter1(void) 0.00 0.18 0.00 1 0.00 0.00 DisplayFilter1::DisplayFilter1(VIF *, Accumulator *, long long, long long) 0.00 0.18 0.00 1 0.00 0.00 VIF::VIF(void) 0.00 0.18 0.00 1 0.00 0.00 Navigator::Navigator(void) 0.00 0.18 0.00 1 0.00 0.00 Accumulator::reSize(long long) % the percentage of the total running time of the time program used by this function. cumulative a running sum of the number of seconds accounted seconds for by this function and those listed above it. self the number of seconds accounted for by this seconds function alone. This is the major sort for this listing. calls the number of times this function was invoked, if this function is profiled, else blank. self the average number of milliseconds spent in this ms/call function per call, if this function is profiled, else blank. total the average number of milliseconds spent in this ms/call function and its descendents per call, if this function is profiled, else blank. name the name of the function. This is the minor sort for this listing. The index shows the location of the function in the gprof listing. If the index is in parenthesis it shows where it would appear in the gprof listing if it were to be printed. Call graph (explanation follows) granularity: each sample hit covers 4 byte(s) for 5.56% of 0.18 seconds index % time self children called name [1] 66.7 0.12 0.00 cprintf [1] ----------------------------------------------- [2] 33.3 0.01 0.05 main [2] 0.00 0.05 225/225 DisplayFilter1::ReDraw(void) [4] 0.00 0.00 706/706 VIF::CursorPos(long long, long long) [19] 0.00 0.00 224/225 DisplayFilter1::SetScroll(long long, long long) [21] 0.00 0.00 1/1 Accumulator::Accumulator(void) [139] 0.00 0.00 1/1 FileFilter1::FileFilter1(void) [141] 0.00 0.00 1/1 DisplayFilter1::DisplayFilter1(VIF *, Accumulator *, long long, long long) [142] 0.00 0.00 1/1 VIF::VIF(void) [143] 0.00 0.00 1/2 DisplayFilter1::SetDisplay(VIF *) [24] 0.00 0.00 1/1 FileFilter1::LoadFile(Accumulator *, char *) [28] 0.00 0.00 1/2 DisplayFilter1::SetSource(Accumulator *) [26] 0.00 0.00 1/1 VIF::~VIF(void) [137] 0.00 0.00 1/1 DisplayFilter1::~DisplayFilter1(void) [136] 0.00 0.00 1/1 FileFilter1::~FileFilter1(void) [135] 0.00 0.00 1/1 Accumulator::~Accumulator(void) [133] ----------------------------------------------- 0.05 0.00 9225/9225 VIF::ReDraw(void) [5] [3] 27.8 0.05 0.00 9225 VIF::WriteText(char *, char *) [3] ----------------------------------------------- 0.00 0.05 225/225 main [2] [4] 27.8 0.00 0.05 225 DisplayFilter1::ReDraw(void) [4] 0.00 0.05 225/225 VIF::ReDraw(void) [5] 0.00 0.00 18900/47250 BlockEditor::SelectionSize(void) [8] 0.00 0.00 15561/15561 BlockEditor::SelectionStart(long) [9] 0.00 0.00 9675/9675 BlockEditor::SelectionStart(void) [12] 0.00 0.00 9675/9675 Navigator::LineEnd(long) [10] 0.00 0.00 9675/9675 BlockEditor::SelectionEnd(long) [11] 0.00 0.00 9450/9450 BlockEditor::Read(char *, int) [15] 0.00 0.00 9450/9450 DisplayFilter1::Trim(char *, long, char *, long, long) [17] 0.00 0.00 9450/9450 VIF::BufferPos(long long, long long) [13] 0.00 0.00 9450/9450 VIF::BufferText(char *, char *) [14] 0.00 0.00 9450/9450 BlockEditor::SelectionEnd(void) [16] 0.00 0.00 6120/6120 Navigator::NextLine(long) [18] 0.00 0.00 225/225 BlockEditor::Seek(long, int) [20] ----------------------------------------------- 0.00 0.05 225/225 DisplayFilter1::ReDraw(void) [4] [5] 27.8 0.00 0.05 225 VIF::ReDraw(void) [5] 0.05 0.00 9225/9225 VIF::WriteText(char *, char *) [3] ----------------------------------------------- 0.00 0.00 2/287491 Accumulator::shift(long, long) [27] 0.00 0.00 2/287491 FileFilter1::LoadFile(Accumulator *, char *) [28] 0.00 0.00 8/287491 Accumulator::SetN(long, long, char *, long) [25] 0.00 0.00 225/287491 BlockEditor::Seek(long, int) [20] 0.00 0.00 6120/287491 Navigator::NextLine(long) [18] 0.00 0.00 9675/287491 Navigator::LineEnd(long) [10] 0.00 0.00 271459/287491 Accumulator::ReadN(long, char *, long) [7] [6] 0.0 0.00 0.00 287491 Accumulator::GetSize(void) [6] ----------------------------------------------- 0.00 0.00 9450/134604 BlockEditor::Read(char *, int) [15] 0.00 0.00 48150/134604 Navigator::NextLine(long) [18] 0.00 0.00 77004/134604 Navigator::LineEnd(long) [10] [7] 0.0 0.00 0.00 134604 Accumulator::ReadN(long, char *, long) [7] 0.00 0.00 271459/287491 Accumulator::GetSize(void) [6] ----------------------------------------------- 0.00 0.00 18900/47250 DisplayFilter1::ReDraw(void) [4] 0.00 0.00 28350/47250 BlockEditor::Read(char *, int) [15] [8] 0.0 0.00 0.00 47250 BlockEditor::SelectionSize(void) [8] ----------------------------------------------- 0.00 0.00 15561/15561 DisplayFilter1::ReDraw(void) [4] [9] 0.0 0.00 0.00 15561 BlockEditor::SelectionStart(long) [9] ----------------------------------------------- 0.00 0.00 9675/9675 DisplayFilter1::ReDraw(void) [4] [10] 0.0 0.00 0.00 9675 Navigator::LineEnd(long) [10] 0.00 0.00 77004/134604 Accumulator::ReadN(long, char *, long) [7] 0.00 0.00 9675/287491 Accumulator::GetSize(void) [6] ----------------------------------------------- 0.00 0.00 9675/9675 DisplayFilter1::ReDraw(void) [4] [11] 0.0 0.00 0.00 9675 BlockEditor::SelectionEnd(long) [11] ----------------------------------------------- 0.00 0.00 9675/9675 DisplayFilter1::ReDraw(void) [4] [12] 0.0 0.00 0.00 9675 BlockEditor::SelectionStart(void) [12] ----------------------------------------------- 0.00 0.00 9450/9450 DisplayFilter1::ReDraw(void) [4] [13] 0.0 0.00 0.00 9450 VIF::BufferPos(long long, long long) [13] ----------------------------------------------- 0.00 0.00 9450/9450 DisplayFilter1::ReDraw(void) [4] [14] 0.0 0.00 0.00 9450 VIF::BufferText(char *, char *) [14] ----------------------------------------------- 0.00 0.00 9450/9450 DisplayFilter1::ReDraw(void) [4] [15] 0.0 0.00 0.00 9450 BlockEditor::Read(char *, int) [15] 0.00 0.00 28350/47250 BlockEditor::SelectionSize(void) [8] 0.00 0.00 9450/134604 Accumulator::ReadN(long, char *, long) [7] ----------------------------------------------- 0.00 0.00 9450/9450 DisplayFilter1::ReDraw(void) [4] [16] 0.0 0.00 0.00 9450 BlockEditor::SelectionEnd(void) [16] ----------------------------------------------- 0.00 0.00 9450/9450 DisplayFilter1::ReDraw(void) [4] [17] 0.0 0.00 0.00 9450 DisplayFilter1::Trim(char *, long, char *, long, long) [17] ----------------------------------------------- 0.00 0.00 6120/6120 DisplayFilter1::ReDraw(void) [4] [18] 0.0 0.00 0.00 6120 Navigator::NextLine(long) [18] 0.00 0.00 48150/134604 Accumulator::ReadN(long, char *, long) [7] 0.00 0.00 6120/287491 Accumulator::GetSize(void) [6] ----------------------------------------------- 0.00 0.00 706/706 main [2] [19] 0.0 0.00 0.00 706 VIF::CursorPos(long long, long long) [19] ----------------------------------------------- 0.00 0.00 225/225 DisplayFilter1::ReDraw(void) [4] [20] 0.0 0.00 0.00 225 BlockEditor::Seek(long, int) [20] 0.00 0.00 225/287491 Accumulator::GetSize(void) [6] ----------------------------------------------- 0.00 0.00 1/225 DisplayFilter1::DisplayFilter1(VIF *, Accumulator *, long long, long long) [142] 0.00 0.00 224/225 main [2] [21] 0.0 0.00 0.00 225 DisplayFilter1::SetScroll(long long, long long) [21] ----------------------------------------------- 0.00 0.00 2/2 DisplayFilter1::SetSource(Accumulator *) [26] [22] 0.0 0.00 0.00 2 BlockEditor::SetAccumulator(Accumulator *) [22] ----------------------------------------------- 0.00 0.00 2/2 DisplayFilter1::SetSource(Accumulator *) [26] [23] 0.0 0.00 0.00 2 Navigator::SetAccumulator(Accumulator *) [23] ----------------------------------------------- 0.00 0.00 1/2 main [2] 0.00 0.00 1/2 DisplayFilter1::DisplayFilter1(VIF *, Accumulator *, long long, long long) [142] [24] 0.0 0.00 0.00 2 DisplayFilter1::SetDisplay(VIF *) [24] ----------------------------------------------- 0.00 0.00 2/2 FileFilter1::LoadFile(Accumulator *, char *) [28] [25] 0.0 0.00 0.00 2 Accumulator::SetN(long, long, char *, long) [25] 0.00 0.00 8/287491 Accumulator::GetSize(void) [6] 0.00 0.00 2/2 Accumulator::shift(long, long) [27] 0.00 0.00 1/1 Accumulator::reSize(long long) [29] ----------------------------------------------- 0.00 0.00 1/2 main [2] 0.00 0.00 1/2 DisplayFilter1::DisplayFilter1(VIF *, Accumulator *, long long, long long) [142] [26] 0.0 0.00 0.00 2 DisplayFilter1::SetSource(Accumulator *) [26] 0.00 0.00 2/2 BlockEditor::SetAccumulator(Accumulator *) [22] 0.00 0.00 2/2 Navigator::SetAccumulator(Accumulator *) [23] ----------------------------------------------- 0.00 0.00 2/2 Accumulator::SetN(long, long, char *, long) [25] [27] 0.0 0.00 0.00 2 Accumulator::shift(long, long) [27] 0.00 0.00 2/287491 Accumulator::GetSize(void) [6] ----------------------------------------------- 0.00 0.00 1/1 main [2] [28] 0.0 0.00 0.00 1 FileFilter1::LoadFile(Accumulator *, char *) [28] 0.00 0.00 2/287491 Accumulator::GetSize(void) [6] 0.00 0.00 2/2 Accumulator::SetN(long, long, char *, long) [25] ----------------------------------------------- 0.00 0.00 1/1 Accumulator::SetN(long, long, char *, long) [25] [29] 0.0 0.00 0.00 1 Accumulator::reSize(long long) [29] ----------------------------------------------- 0.00 0.00 1/1 main [2] [133] 0.0 0.00 0.00 1 Accumulator::~Accumulator(void) [133] ----------------------------------------------- 0.00 0.00 1/1 DisplayFilter1::~DisplayFilter1(void) [136] [134] 0.0 0.00 0.00 1 BlockEditor::~BlockEditor(void) [134] ----------------------------------------------- 0.00 0.00 1/1 main [2] [135] 0.0 0.00 0.00 1 FileFilter1::~FileFilter1(void) [135] ----------------------------------------------- 0.00 0.00 1/1 main [2] [136] 0.0 0.00 0.00 1 DisplayFilter1::~DisplayFilter1(void) [136] 0.00 0.00 1/1 Navigator::~Navigator(void) [138] 0.00 0.00 1/1 BlockEditor::~BlockEditor(void) [134] ----------------------------------------------- 0.00 0.00 1/1 main [2] [137] 0.0 0.00 0.00 1 VIF::~VIF(void) [137] ----------------------------------------------- 0.00 0.00 1/1 DisplayFilter1::~DisplayFilter1(void) [136] [138] 0.0 0.00 0.00 1 Navigator::~Navigator(void) [138] ----------------------------------------------- 0.00 0.00 1/1 main [2] [139] 0.0 0.00 0.00 1 Accumulator::Accumulator(void) [139] ----------------------------------------------- 0.00 0.00 1/1 DisplayFilter1::DisplayFilter1(VIF *, Accumulator *, long long, long long) [142] [140] 0.0 0.00 0.00 1 BlockEditor::BlockEditor(void) [140] ----------------------------------------------- 0.00 0.00 1/1 main [2] [141] 0.0 0.00 0.00 1 FileFilter1::FileFilter1(void) [141] ----------------------------------------------- 0.00 0.00 1/1 main [2] [142] 0.0 0.00 0.00 1 DisplayFilter1::DisplayFilter1(VIF *, Accumulator *, long long, long long) [142] 0.00 0.00 1/1 BlockEditor::BlockEditor(void) [140] 0.00 0.00 1/1 Navigator::Navigator(void) [144] 0.00 0.00 1/225 DisplayFilter1::SetScroll(long long, long long) [21] 0.00 0.00 1/2 DisplayFilter1::SetSource(Accumulator *) [26] 0.00 0.00 1/2 DisplayFilter1::SetDisplay(VIF *) [24] ----------------------------------------------- 0.00 0.00 1/1 main [2] [143] 0.0 0.00 0.00 1 VIF::VIF(void) [143] ----------------------------------------------- 0.00 0.00 1/1 DisplayFilter1::DisplayFilter1(VIF *, Accumulator *, long long, long long) [142] [144] 0.0 0.00 0.00 1 Navigator::Navigator(void) [144] ----------------------------------------------- This table describes the call tree of the program, and was sorted by the total amount of time spent in each function and its children. Each entry in this table consists of several lines. The line with the index number at the left hand margin lists the current function. The lines above it list the functions that called this function, and the lines below it list the functions this one called. This line lists: index A unique number given to each element of the table. Index numbers are sorted numerically. The index number is printed next to every function name so it is easier to look up where the function in the table. % time This is the percentage of the `total' time that was spent in this function and its children. Note that due to different viewpoints, functions excluded by options, etc, these numbers will NOT add up to 100%. self This is the total amount of time spent in this function. children This is the total amount of time propagated into this function by its children. called This is the number of times the function was called. If the function called itself recursively, the number only includes non-recursive calls, and is followed by a `+' and the number of recursive calls. name The name of the current function. The index number is printed after it. If the function is a member of a cycle, the cycle number is printed between the function's name and the index number. For the function's parents, the fields have the following meanings: self This is the amount of time that was propagated directly from the function into this parent. children This is the amount of time that was propagated from the function's children into this parent. called This is the number of times this parent called the function `/' the total number of times the function was called. Recursive calls to the function are not included in the number after the `/'. name This is the name of the parent. The parent's index number is printed after it. If the parent is a member of a cycle, the cycle number is printed between the name and the index number. If the parents of the function cannot be determined, the word `' is printed in the `name' field, and all the other fields are blank. For the function's children, the fields have the following meanings: self This is the amount of time that was propagated directly from the child into the function. children This is the amount of time that was propagated from the child's children to the function. called This is the number of times the function called this child `/' the total number of times the child was called. Recursive calls by the child are not listed in the number after the `/'. name This is the name of the child. The child's index number is printed after it. If the child is a member of a cycle, the cycle number is printed between the name and the index number. If there are any cycles (circles) in the call graph, there is an entry for the cycle-as-a-whole. This entry shows who called the cycle (as parents) and the members of the cycle (as children.) The `+' recursive calls entry shows the number of function calls that were internal to the cycle, and the calls entry for each member shows, for that member, how many times it was called from other members of the cycle. Index by function name [13] VIF::BufferPos(long long, long long) [8] BlockEditor::SelectionSize(void) [136] DisplayFilter1::~DisplayFilter1(void) [14] VIF::BufferText(char *, char *) [12] BlockEditor::SelectionStart(void) [137] VIF::~VIF(void) [19] VIF::CursorPos(long long, long long) [9] BlockEditor::SelectionStart(long) [138] Navigator::~Navigator(void) [6] Accumulator::GetSize(void) [22] BlockEditor::SetAccumulator(Accumulator *) [139] Accumulator::Accumulator(void) [10] Navigator::LineEnd(long) [23] Navigator::SetAccumulator(Accumulator *) [140] BlockEditor::BlockEditor(void) [28] FileFilter1::LoadFile(Accumulator *, char *) [24] DisplayFilter1::SetDisplay(VIF *) [141] FileFilter1::FileFilter1(void) [18] Navigator::NextLine(long) [25] Accumulator::SetN(long, long, char *, long) [142] DisplayFilter1::DisplayFilter1(VIF *, Accumulator *, long long, long long) [4] DisplayFilter1::ReDraw(void) [21] DisplayFilter1::SetScroll(long long, long long) [143] VIF::VIF(void) [5] VIF::ReDraw(void) [26] DisplayFilter1::SetSource(Accumulator *) [144] Navigator::Navigator(void) [7] Accumulator::ReadN(long, char *, long) [17] DisplayFilter1::Trim(char *, long, char *, long, long) [1] cprintf [15] BlockEditor::Read(char *, int) [3] VIF::WriteText(char *, char *) [2] main [20] BlockEditor::Seek(long, int) [133] Accumulator::~Accumulator(void) [29] Accumulator::reSize(long long) [16] BlockEditor::SelectionEnd(void) [134] BlockEditor::~BlockEditor(void) [27] Accumulator::shift(long, long) [11] BlockEditor::SelectionEnd(long) [135] FileFilter1::~FileFilter1(void)