Abid,
I am not 100% sure what you mean, but it seems that you are having trouble with showing the wall-clock time for an activity start and end. I am not sure if this solves your problem, but you can add a start date/time to the BVM when you start it. This way the simulation starts at the desired time, say 12am midnight, or 8am in the morning.
The parameter is the “-date” parameter:
-date <date and time> the start date and time for the sim "MM/dd/yyyy HH:mm:ss zzzz"
Here are the parameters you can give to the BVM:
$ bvm
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Brahms Virtual Machine - Version: 5.2.16
CI Interface - Version: 1.12.9
Copyright (c) 1999-2012 NASA Ames Research Center. All Rights Reserved.
usage: bvm [-options] [<model>]
where options include:
-cf <config file> use configuration file
-vmname <vm name> name for vm to register in directory
-mode (sim | rt | drt) mode of operation, simulation, real-time or distributed
-date <date and time> the start date and time for the sim "MM/dd/yyyy HH:mm:ss zzzz"
-time_unit <n> number of seconds represented by each unit of time
-cp <class path> appended search path for Java class files
-lp <library path> search path for brahms xml files
-es <class files> external services to be loaded
-ui display simulation control panel
-no_auto_start do not automatically start the model, use the control panel to start model
-no_auto_stop do not automatically stop the model when the simulation finishes, use the control panel instead
Note 1: virtual machine must at a minimum either get a brahms xml file
as a parameter or a configuration file for the vm to register itself
with a directory service for remote control by another component.
Note 2: the time as specified in the date parameter must be in
military time, the 24 hour clock. The zzzz represents the time zone.
The time zone must be specified using its full name, i.e.
America/New_York, America/Los_Angeles. For a full list see the
Calendar.b file in Models/brahms/base.
I hope this helps.
Maarten Sierhuis, Ph.D.
Founder & CTO, Ejenta
> --
> You received this message because you are subscribed to the Google Groups "Brahms Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
brahms-forum...@googlegroups.com.
> To post to this group, send email to
brahms...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/brahms-forum.
> For more options, visit
https://groups.google.com/d/optout.