CMS 3D CMS Logo

Functions
XrdStatistics.cc File Reference
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/MessageLogger/interface/JobReport.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
#include "XrdRequest.h"
#include "XrdStatistics.h"
#include <chrono>

Go to the source code of this file.

Functions

static std::string d2str (double input)
 
static std::string i2str (int input)
 

Function Documentation

◆ d2str()

static std::string d2str ( double  input)
static

Definition at line 122 of file XrdStatistics.cc.

122  {
123  std::ostringstream formatter;
124  formatter << std::setw(4) << input;
125  return formatter.str();
126 }

References postprocess-scan-build::formatter, and input.

Referenced by XrdAdaptor::XrdSiteStatistics::recomputeProperties().

◆ i2str()

static std::string i2str ( int  input)
static

Definition at line 116 of file XrdStatistics.cc.

116  {
117  std::ostringstream formatter;
118  formatter << input;
119  return formatter.str();
120 }

References postprocess-scan-build::formatter, and input.

Referenced by XrdAdaptor::XrdSiteStatistics::recomputeProperties().

input
static const std::string input
Definition: EdmProvDump.cc:48
postprocess-scan-build.formatter
formatter
Definition: postprocess-scan-build.py:49