Author Topic: How can we get end time while use ATK?  (Read 4845 times)

0 Members and 1 Guest are viewing this topic.

Offline hejun8035

  • Heavy QuantumATK user
  • ***
  • Posts: 47
  • Reputation: 0
    • View Profile
How can we get end time while use ATK?
« on: March 23, 2009, 06:05 »
In the head of .out file we can get the start time of ATK,but how can we  get end time while use ATK?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: How can we get end time while use ATK?
« Reply #1 on: March 23, 2009, 10:43 »
Add the following lines at the very end of the script you run:
Code
if processIsMaster():
    print '# Finished at',time.ctime()
Or, look at the time of the NetCDF file or VNL file created by the script :)