Commit df20969b authored by Shane Snyder's avatar Shane Snyder

Updated iolang to represent delays in ns

parent 70b52419
......@@ -155,7 +155,8 @@ void bgp_io_workload_get_next(int rank, struct codes_workload_op *op)
break;
case CODES_WK_DELAY:
{
op->u.delay.seconds = (next_wrkld->next_event).var[0];
/* io language represents delays in nanoseconds */
op->u.delay.seconds = (double)(next_wrkld->next_event).var[0] / (1000 * 1000 * 1000);
}
break;
case CODES_WK_END:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment