comparison Core/MetricsRegistry.cpp @ 3175:574890d14c92

new metrics: orthanc_store_dicom_duration_ms, orthanc_storage_[create|read|remove]_duration_ms
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Jan 2019 17:34:09 +0100
parents 8ea7c4546c3a
children 784bbb03fb54
comparison
equal deleted inserted replaced
3174:8ea7c4546c3a 3175:574890d14c92
39 39
40 namespace Orthanc 40 namespace Orthanc
41 { 41 {
42 static const boost::posix_time::ptime GetNow() 42 static const boost::posix_time::ptime GetNow()
43 { 43 {
44 return boost::posix_time::second_clock::universal_time(); 44 return boost::posix_time::microsec_clock::universal_time();
45 } 45 }
46
47 46
48 class MetricsRegistry::Item 47 class MetricsRegistry::Item
49 { 48 {
50 private: 49 private:
51 MetricsType type_; 50 MetricsType type_;