utils.parse_record
utils.parse_record(record_fn, assert_node=None)Parse the timing information based on record.
This function parses the record file generated by monitor or save_results and returns the elapsed CPU time and wall time as a NumPy array.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| record_fn | str | File name of the record file. | required |
Returns
| Name | Type | Description |
|---|---|---|
| t | ndarray | A numpy array with 2 elements, where the 1st is the CPU time, and the 2nd is the wall time. Both are in nanoseconds. |