diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-07-30 14:23:10 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-07-30 14:23:10 -0400 |
commit | 66490ebb92af59d148f79aae42a2eddc1ecedb7e (patch) | |
tree | fccb31a73449e77e1201c8f50fc9ae88bc626323 /ChangeLog | |
parent | 88b2a8ef062398499a2c14d309c132a081cac26b (diff) | |
download | vyos-cloud-init-66490ebb92af59d148f79aae42a2eddc1ecedb7e.tar.gz vyos-cloud-init-66490ebb92af59d148f79aae42a2eddc1ecedb7e.zip |
add util.log_time helper
The reason for this is that more and more things I was wanting to be able to
see how long they took. This puts that time logic into a single place. It
also supports (by default) reading from /proc/uptime as the timing mechanism.
While that is almost certainly slower than time.time(), it does give
millisecond granularity and is not affected by 'ntpdate' having
run in between the two events.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ - always finalize handlers even if processing failed (LP: #1203368) - support merging into cloud-config via jsonp. (LP: #1200476) - add datasource 'SmartOS' for Joyent Cloud. Adds a dependency on serial. + - add 'log_time' helper to util for timing how long things take + which also reads from uptime. uptime is useful as clock may change during + boot due to ntp. 0.7.2: - add a debian watch file - add 'sudo' entry to ubuntu's default user (LP: #1080717) |