(block_name)
| 226 | |
| 227 | @staticmethod |
| 228 | def exit_block(block_name): |
| 229 | if ToolchainProfiler.remove_last_occurrence_if_exists(ToolchainProfiler.block_stack, block_name): |
| 230 | with ToolchainProfiler.log_access() as f: |
| 231 | f.write(',\n{"pid":' + ToolchainProfiler.mypid_str + ',"subprocessPid":' + str(os.getpid()) + ',"op":"exitBlock","name":"' + block_name + '","time":' + ToolchainProfiler.timestamp() + '}') |
| 232 | |
| 233 | @staticmethod |
| 234 | def exit_all_blocks(): |
no test coverage detected