version 0.2
try, throw implemented help screen updates some code reorganisation readme and doc updates
This commit is contained in:
@@ -58,6 +58,16 @@ std::string MlPerfMon::callstack() const {
|
||||
return cs.append("\n");
|
||||
}
|
||||
|
||||
size_t MlPerfMon::get_callstack_position() {
|
||||
return call_stack.size();
|
||||
}
|
||||
|
||||
void MlPerfMon::restore_callstack_position(size_t to_position) {
|
||||
if (to_position < call_stack.size()) {
|
||||
call_stack.resize(to_position);
|
||||
}
|
||||
}
|
||||
|
||||
void MlPerfMon::clear_callstack() {
|
||||
call_stack.empty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user