System.cpp File Reference

#include "System.h"
#include <QStringList>
#include <QString>
#include <stdint.h>
#include <signal.h>
#include <sys/statvfs.h>
#include <iostream>

Include dependency graph for System.cpp:

Go to the source code of this file.

Functions

ProcessStatus GetProcessStatus (int pid)
void GetRealMemoryMBAvailable (int &available, int &total)
int GetDiscSpaceMBAvailable (const char *path)
void StoreStartupLocale ()
void RestoreStartupLocale ()
double mod (double x, double y)
float modf (float x, float y)
double princarg (double a)
float princargf (float a)

Variables

static char * startupLocale = 0


Function Documentation

ProcessStatus GetProcessStatus ( int  pid  ) 

Definition at line 76 of file System.cpp.

References ProcessNotRunning, ProcessRunning, and UnknownProcessStatus.

Referenced by TempDirectory::cleanupAbandonedDirectories().

void GetRealMemoryMBAvailable ( int &  available,
int &  total 
)

Definition at line 118 of file System.cpp.

Referenced by StorageAdviser::recommend().

int GetDiscSpaceMBAvailable ( const char *  path  ) 

Definition at line 239 of file System.cpp.

Referenced by StorageAdviser::recommend().

void StoreStartupLocale (  ) 

Definition at line 272 of file System.cpp.

Referenced by main().

void RestoreStartupLocale (  ) 

Definition at line 281 of file System.cpp.

Referenced by RealTimePluginFactory::getAllPluginIdentifiers().

double mod ( double  x,
double  y 
)

Definition at line 290 of file System.cpp.

Referenced by princarg().

float modf ( float  x,
float  y 
)

Definition at line 291 of file System.cpp.

Referenced by princargf().

double princarg ( double  a  ) 

Definition at line 293 of file System.cpp.

References mod().

float princargf ( float  a  ) 

Definition at line 294 of file System.cpp.

References modf().

Referenced by FFTModel::estimateStableFrequency(), FFTModel::getPeakFrequencies(), FFTFileCache::getPhaseAt(), FFTMemoryCache::setColumnAt(), and FFTFileCache::setColumnAt().


Variable Documentation

char* startupLocale = 0 [static]

Definition at line 269 of file System.cpp.


Generated on Wed Feb 20 15:45:31 2008 for SonicVisualiser by  doxygen 1.5.1