Populating array in check phase

sorry there has been a mistake in the code it should be
s[1:0] = $time; and similarly e[1:0] =$time;

i want to know how can i use the arrays s and e and do the latency calculation in check phase. how can i read back these arrays in check phase ? here iam completely using array operations and not file handling operation.