Adds a flow end event to the trace. When matched with a flow start event (with the same 'flow_id') this will cause the trace viewer to draw an arrow between the start and end events. Args: name: The event name as a string. timestamp: The timestamp of this event as a long
(self, name, timestamp, pid, tid, flow_id)
| 200 | self._events.append(event) |
| 201 | |
| 202 | def emit_flow_end(self, name, timestamp, pid, tid, flow_id): |
| 203 | """Adds a flow end event to the trace. |
| 204 | |
| 205 | When matched with a flow start event (with the same 'flow_id') this will |
| 206 | cause the trace viewer to draw an arrow between the start and end events. |
| 207 | |
| 208 | Args: |
| 209 | name: The event name as a string. |
| 210 | timestamp: The timestamp of this event as a long integer. |
| 211 | pid: Identifier of the process generating this event as an integer. |
| 212 | tid: Identifier of the thread generating this event as an integer. |
| 213 | flow_id: Identifier of the flow as an integer. |
| 214 | """ |
| 215 | event = self._create_event('t', 'DataFlow', name, pid, tid, timestamp) |
| 216 | event['id'] = flow_id |
| 217 | self._events.append(event) |
| 218 | |
| 219 | def emit_flow_type_start(self, flow_type, name, timestamp, pid, tid, flow_id): |
| 220 | """Adds a flow start event to the trace. |
no test coverage detected