Changeset 18171
- Timestamp:
- 04/16/15 12:44:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/Main.js
r18170 r18171 388 388 dim.log("Starting shutdown ["+type+"]."); 389 389 390 var now1= new Date();390 var shutdown_start_date = new Date(); 391 391 392 392 var bias = dim.state("BIAS_CONTROL").name; … … 396 396 CloseLid(); 397 397 398 var now2= new Date();398 var shutdown_after_close_lid_date = new Date(); 399 399 400 400 if (type=="sleep") … … 459 459 dim.log("Finishing shutdown."); 460 460 461 var now3= new Date();461 var shutdown_after_bias_off_data = new Date(); 462 462 463 463 dim.send("FTM_CONTROL/STOP_TRIGGER"); … … 492 492 console.out(" PWR_CONTROL: "+dim.state("PWR_CONTROL").name); 493 493 console.out(""); 494 dim.log("Shutdown: end ["+(now2-now1)/1000+"s, "+(now3-now2)/1000+"s, "+(new Date()-now3)/1000+"s]"); 494 dim.log("Shutdown: end [" 495 + (shutdown_after_close_lid_date-shutdown_start_date)/1000 496 + "s, " 497 + (shutdown_after_bias_off_data-shutdown_after_close_lid_date)/1000 498 + "s, " 499 + (new Date()-shutdown_after_bias_off_data)/1000+"s]" 500 ); 495 501 console.out(""); 496 502
Note:
See TracChangeset
for help on using the changeset viewer.