time measure& workload generator