From: Marcos D. de A. <mar...@gm...> - 2010-02-17 15:33:52
|
Hi, you can obtain the processing time of a Gridlet, here called gl, on the last resource where it was executed by subtracting the start time from the finish time. That is: double procTime = gl.getFinishTime() - gl.getExecStartTime(); If you need to record other type of data, you might want to extend one of the allocation policies and the Gridlet class to store the information you need. If you are interested in an event in specific, you can obtain the simulation time at which it happened: double timeEvent = GridSim.clock(); Cheers, Marcos vishnu soni wrote: > hi , > how i get processing time in GridSim simulation.Actually when i > use command gridlet. than only the option given > > > 1) cpu timr > 2) execution time , but i need a processing time, plz guide me for that. > > > > V. K. SONI > KIIT, BHUNNESWAR > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > |