CMS 3D CMS Logo

StorageAccount.cc File Reference

#include "Utilities/StorageFactory/interface/StorageAccount.h"
#include <boost/thread/mutex.hpp>
#include <sstream>
#include <unistd.h>

Go to the source code of this file.

Functions

static double timeRealNanoSecs (void)

Variables

boost::mutex s_mutex
StorageAccount::StorageStats s_stats


Function Documentation

static double timeRealNanoSecs ( void   )  [static]

Definition at line 9 of file StorageAccount.cc.

Referenced by StorageAccount::Stamp::tick().

00010 {
00011   struct timespec tm;
00012   if (clock_gettime(CLOCK_REALTIME, &tm) == 0)
00013     return tm.tv_sec * 1e9 + tm.tv_nsec;
00014   return 0;
00015 }


Variable Documentation

boost::mutex s_mutex

Definition at line 6 of file StorageAccount.cc.

StorageAccount::StorageStats s_stats

Definition at line 7 of file StorageAccount.cc.

Referenced by StorageAccount::counter(), StorageAccount::summary(), StorageAccount::summaryText(), and StorageAccount::summaryXML().


Generated on Tue Jun 9 17:56:01 2009 for CMSSW by  doxygen 1.5.4