Changeset 1574


Ignore:
Timestamp:
03/14/2012 10:33:56 AM (8 years ago)
Author:
iwallace
Message:

time stamp bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scenarios/HWshared/HwuDialogSystem/examples/experimentDialog.java

    r1572 r1574  
    8080        migrationData.put(latest +"Failures",fails.toString()); 
    8181         
    82         timeStamp("XXXfailure_"+latest+"_"+fails.toString()); 
     82        timeStamp("xxxfailure_"+latest+"_"+fails.toString()); 
    8383         
    8484        if (latest.equals("episode2")) { 
     
    187187         * forgotten in 4. Don't want to actually remove it from memory... 
    188188         */ 
     189        di.blockUntilUserPresent(); 
    189190        startTime = System.currentTimeMillis(); 
    190         di.blockUntilUserPresent(); 
     191        migrationData.put("startTimeMillis",startTime.toString()); 
    191192        episode1Screen(); 
    192193} 
     
    236237 
    237238episode2startPhone() { 
     239        startTime = Long.parseLong(migrationData.get("startTimeMillis")); 
    238240        if (remembers(1,2)) 
    239241                episode2PhoneMemory(); 
     
    922924 
    923925timeStamp(String key) { 
    924         long timeSinceStart = (long)((System.currentTimeMillis() - startTime)/1000); 
     926        double timeSinceStart = ((System.currentTimeMillis() - startTime)/1000); 
    925927        migrationData.put(key,timeSinceStart.toString()); 
    926928} 
Note: See TracChangeset for help on using the changeset viewer.