CernVM-FS  2.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
algorithm.cc File Reference
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "cvmfs_config.h"
#include "util/algorithm.h"
#include "util/string.h"
Include dependency graph for algorithm.cc:

Go to the source code of this file.

Namespaces

 anonymous_namespace{algorithm.cc}
 

Macros

#define __STDC_FORMAT_MACROS
 

Functions

double DiffTimeSeconds (struct timeval start, struct timeval end)
 
static unsigned int anonymous_namespace{algorithm.cc}::CountDigits (uint64_t n)
 
static std::string anonymous_namespace{algorithm.cc}::GenerateStars (unsigned int n)
 

Macro Definition Documentation

#define __STDC_FORMAT_MACROS

This file is part of the CernVM File System.

Some common functions.

Definition at line 9 of file algorithm.cc.

Function Documentation

double DiffTimeSeconds ( struct timeval  start,
struct timeval  end 
)

This file is part of the CernVM File System.

Definition at line 31 of file algorithm.cc.

Referenced by StopWatch::GetTime(), download::DownloadManager::MainDownload(), and download::DownloadManager::ProbeHosts().

Here is the caller graph for this function: