* b3ProfileManager::Start_Profile -- Begin a named profile * * * * Steps one level deeper into the tree, if a child already exists with the specified name * * then it accumulates the profiling; otherwise a new child node is added to the profile tree. * *
| 228 | * the profiling code for efficiency. * |
| 229 | *=============================================================================================*/ |
| 230 | void b3ProfileManager::Start_Profile(const char* name) |
| 231 | { |
| 232 | if (name != CurrentNode->Get_Name()) |
| 233 | { |
| 234 | CurrentNode = CurrentNode->Get_Sub_Node(name); |
| 235 | } |
| 236 | |
| 237 | CurrentNode->Call(); |
| 238 | } |
| 239 | |
| 240 | /*********************************************************************************************** |
| 241 | * b3ProfileManager::Stop_Profile -- Stop timing and record the results. * |
nothing calls this directly
no test coverage detected