mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-31 11:29:07 +00:00
19 lines
369 B
C++
19 lines
369 B
C++
/**
|
|
* @file src/stat_trackers.cpp
|
|
* @brief Definitions for streaming statistic tracking.
|
|
*/
|
|
// local includes
|
|
#include "stat_trackers.h"
|
|
|
|
namespace stat_trackers {
|
|
|
|
boost::format one_digit_after_decimal() {
|
|
return boost::format("%1$.1f");
|
|
}
|
|
|
|
boost::format two_digits_after_decimal() {
|
|
return boost::format("%1$.2f");
|
|
}
|
|
|
|
} // namespace stat_trackers
|