- Timestamp:
- Nov 10, 2016, 2:39:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r1254 r1309 6233 6233 6234 6234 difft = trefTB - trefTA 6235 diffv = difft.days*24.*3600.*10.e6 + difft.seconds*10.e6 + difft.microseconds 6235 if searchInlist(difft.keys(), 'total_seconds'): 6236 diffv = difft.total_seconds*10.e6 6237 else: 6238 diffv = difft.days*24.*3600.*10.e6 + difft.seconds*10.e6 + difft.microseconds 6236 6239 print ' ' + fname + ': different reference refA:',trefTA,'refB',trefTB 6237 6240 print ' difference:',difft,':',diffv,'microseconds'
Note: See TracChangeset
for help on using the changeset viewer.