A process (time series of events) in the timeline.
| 62 | |
| 63 | // A process (time series of events) in the timeline. |
| 64 | class Process { |
| 65 | public: |
| 66 | Process(const string& device, int64 pid) : device(device), pid(pid) {} |
| 67 | |
| 68 | // Each lane is a map from start_time to end_time. |
| 69 | std::vector<std::map<int64, int64>> lanes; |
| 70 | // device for the time series. |
| 71 | string device; |
| 72 | // unique id for the time series. |
| 73 | int64 pid; |
| 74 | }; |
| 75 | |
| 76 | class TimeNode { |
| 77 | public: |
no outgoing calls