##// END OF EJS Templates
statprof: return state from stop()...
Gregory Szorc -
r30299:1e534631 default
parent child Browse files
Show More
@@ -324,6 +324,8 b' def stop():'
324 if statprofpath:
324 if statprofpath:
325 save_data(statprofpath)
325 save_data(statprofpath)
326
326
327 return state
328
327 def save_data(path):
329 def save_data(path):
328 with open(path, 'w+') as file:
330 with open(path, 'w+') as file:
329 file.write(str(state.accumulated_time) + '\n')
331 file.write(str(state.accumulated_time) + '\n')
General Comments 0
You need to be logged in to leave comments. Login now