@@ -13,9 +13,10 @@ static inline void
13
13
sandbox_perf_log_print_header ()
14
14
{
15
15
if (sandbox_perf_log == NULL ) { perror ("sandbox perf log" ); }
16
- fprintf (sandbox_perf_log , "id,tenant,route,state,deadline,actual,queued,uninitialized,allocated,initialized,"
17
- "runnable,interrupted,preempted,"
18
- "running_sys,running_user,asleep,returned,complete,error,proc_MHz,payload_size\n" );
16
+ fprintf (sandbox_perf_log ,
17
+ "id,tenant,route,state,deadline,actual,queued,uninitialized,allocated,initialized,"
18
+ "runnable,interrupted,preempted,"
19
+ "running_sys,running_user,asleep,returned,complete,error,proc_MHz,payload_size,regression_param\n" );
19
20
}
20
21
21
22
/**
@@ -37,16 +38,17 @@ sandbox_perf_log_print_entry(struct sandbox *sandbox)
37
38
* seperately from current linear memory size.
38
39
*/
39
40
fprintf (sandbox_perf_log ,
40
- "%lu,%s,%s,%s,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%u,%u,%d,%d\n" , sandbox -> id ,
41
- sandbox -> tenant -> name , sandbox -> route -> route , sandbox_state_stringify (sandbox -> state ),
41
+ "%lu,%s,%s,%s,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%lu,%u,%u,%d,%d,%lf \n" ,
42
+ sandbox -> id , sandbox -> tenant -> name , sandbox -> route -> route , sandbox_state_stringify (sandbox -> state ),
42
43
sandbox -> route -> relative_deadline , sandbox -> total_time , queued_duration ,
43
44
sandbox -> duration_of_state [SANDBOX_UNINITIALIZED ], sandbox -> duration_of_state [SANDBOX_ALLOCATED ],
44
45
sandbox -> duration_of_state [SANDBOX_INITIALIZED ], sandbox -> duration_of_state [SANDBOX_RUNNABLE ],
45
46
sandbox -> duration_of_state [SANDBOX_INTERRUPTED ], sandbox -> duration_of_state [SANDBOX_PREEMPTED ],
46
47
sandbox -> duration_of_state [SANDBOX_RUNNING_SYS ], sandbox -> duration_of_state [SANDBOX_RUNNING_USER ],
47
48
sandbox -> duration_of_state [SANDBOX_ASLEEP ], sandbox -> duration_of_state [SANDBOX_RETURNED ],
48
49
sandbox -> duration_of_state [SANDBOX_COMPLETE ], sandbox -> duration_of_state [SANDBOX_ERROR ],
49
- runtime_processor_speed_MHz , sandbox -> response_code , 0 , sandbox -> payload_size );
50
+ runtime_processor_speed_MHz , sandbox -> response_code , 0 , sandbox -> payload_size ,
51
+ sandbox -> regression_param );
50
52
}
51
53
52
54
static inline void
0 commit comments