00001 // 00002 // Copyright (c) 2012 Daniel Lundin 00003 // 00004 00005 #ifndef MEDIDA_REPORTING_UTIL_H_ 00006 #define MEDIDA_REPORTING_UTIL_H_ 00007 00008 #include <chrono> 00009 #include <string> 00010 00011 namespace medida { 00012 namespace reporting { 00013 00014 std::string FormatRateUnit(const std::chrono::nanoseconds& rate_unit); 00015 00016 } // namespace reporting 00017 } // namespace medida 00018 00019 #endif // MEDIDA_REPORTING_UTIL_H_