graph_trace: { calculator_name : ["ACalculator", "BCalculator"] stream_name : [ "", "input1"] base_time : 0 base_timestamp : 100 # Fire off three input packets and have them spend time in Calculator A. # Drop the middle packet. calculator_trace: { node_id: -1 input_timestamp: 100 event_type : PROCESS finish_time : 1000 output_trace: { packet_timestamp: 100 stream_id : 1 } thread_id : 1 } calculator_trace: { node_id: -1 input_timestamp: 101 event_type : PROCESS finish_time : 2000 output_trace: { packet_timestamp: 101 stream_id : 1 } thread_id : 1 } calculator_trace: { node_id: -1 input_timestamp: 102 event_type : PROCESS finish_time : 3000 output_trace: { packet_timestamp: 102 stream_id : 1 } thread_id : 1 } # First event is disconnected. We'll see the output_trace later. calculator_trace: { node_id: 0 input_timestamp: 100 event_type : PROCESS start_time : 1100 input_trace: { packet_timestamp: 100 stream_id : 1 } thread_id : 1 } # # We're going to drop this packet. calculator_trace: { node_id: 0 input_timestamp: 101 event_type : PROCESS start_time : 2100 input_trace: { packet_timestamp: 101 stream_id : 1 } thread_id : 1 } # # Here's that matching output trace. calculator_trace: { node_id: 0 input_timestamp: 100 event_type : PROCESS finish_time : 1500 input_trace: { packet_timestamp: 100 stream_id : 1 } thread_id : 1 } # Third packet is processed all at the same time. calculator_trace: { node_id: 0 input_timestamp: 102 event_type : PROCESS start_time : 3100 finish_time : 3600 input_trace: { packet_timestamp: 102 stream_id : 1 } thread_id : 1 } # A second calculator will process an input in order to affect the # time_percent. calculator_trace: { node_id: 1 input_timestamp: 102 event_type : PROCESS start_time : 3200 finish_time : 3500 input_trace: { packet_timestamp: 102 stream_id : 1 } thread_id : 1 } } config: { node: { name: "ACalculator" calculator: "ACalculator" input_stream: "input1" } node: { name: "BCalculator" calculator: "BCalculator" input_stream: "input1" } }