aboutsummaryrefslogtreecommitdiff
path: root/sp/src/utils/common/mpi_stats.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /sp/src/utils/common/mpi_stats.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/utils/common/mpi_stats.h')
-rw-r--r--sp/src/utils/common/mpi_stats.h118
1 files changed, 59 insertions, 59 deletions
diff --git a/sp/src/utils/common/mpi_stats.h b/sp/src/utils/common/mpi_stats.h
index 10aa6162..841db3a2 100644
--- a/sp/src/utils/common/mpi_stats.h
+++ b/sp/src/utils/common/mpi_stats.h
@@ -1,59 +1,59 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef MPI_STATS_H
-#define MPI_STATS_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-
-// The VMPI stats module reports a bunch of statistics to a MySQL server, and the
-// stats can be used to trace and graph a compile session.
-//
-
-// Call this as soon as possible to initialize spew hooks.
-void VMPI_Stats_InstallSpewHook();
-
-//
-// pDBServerName is the hostname (or dotted IP address) of the MySQL server to connect to.
-// pBSPFilename is the last argument on the command line.
-// pMachineIP is the dotted IP address of this machine.
-// jobID is an 8-byte unique identifier for this job.
-//
-bool VMPI_Stats_Init_Master( const char *pHostName, const char *pDBName, const char *pUserName, const char *pBSPFilename, unsigned long *pDBJobID );
-bool VMPI_Stats_Init_Worker( const char *pHostName, const char *pDBName, const char *pUserName, unsigned long DBJobID );
-void VMPI_Stats_Term();
-
-// Add a generic text event to the database.
-void VMPI_Stats_AddEventText( const char *pText );
-
-class CDBInfo
-{
-public:
- char m_HostName[128];
- char m_DBName[128];
- char m_UserName[128];
-};
-
-// If you're the master, this loads pDBInfoFilename, sends that info to the workers, and
-// connects to the database.
-//
-// If you're a worker, this waits for the DB info, then connects to the database.
-void StatsDB_InitStatsDatabase(
- int argc,
- char **argv,
- const char *pDBInfoFilename );
-
-// The database gives back a unique ID for the job.
-unsigned long StatsDB_GetUniqueJobID();
-
-// Get the worker ID (used for the JobWorkerID fields in the database).
-unsigned long VMPI_Stats_GetJobWorkerID();
-
-
-#endif // MPI_STATS_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef MPI_STATS_H
+#define MPI_STATS_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+// The VMPI stats module reports a bunch of statistics to a MySQL server, and the
+// stats can be used to trace and graph a compile session.
+//
+
+// Call this as soon as possible to initialize spew hooks.
+void VMPI_Stats_InstallSpewHook();
+
+//
+// pDBServerName is the hostname (or dotted IP address) of the MySQL server to connect to.
+// pBSPFilename is the last argument on the command line.
+// pMachineIP is the dotted IP address of this machine.
+// jobID is an 8-byte unique identifier for this job.
+//
+bool VMPI_Stats_Init_Master( const char *pHostName, const char *pDBName, const char *pUserName, const char *pBSPFilename, unsigned long *pDBJobID );
+bool VMPI_Stats_Init_Worker( const char *pHostName, const char *pDBName, const char *pUserName, unsigned long DBJobID );
+void VMPI_Stats_Term();
+
+// Add a generic text event to the database.
+void VMPI_Stats_AddEventText( const char *pText );
+
+class CDBInfo
+{
+public:
+ char m_HostName[128];
+ char m_DBName[128];
+ char m_UserName[128];
+};
+
+// If you're the master, this loads pDBInfoFilename, sends that info to the workers, and
+// connects to the database.
+//
+// If you're a worker, this waits for the DB info, then connects to the database.
+void StatsDB_InitStatsDatabase(
+ int argc,
+ char **argv,
+ const char *pDBInfoFilename );
+
+// The database gives back a unique ID for the job.
+unsigned long StatsDB_GetUniqueJobID();
+
+// Get the worker ID (used for the JobWorkerID fields in the database).
+unsigned long VMPI_Stats_GetJobWorkerID();
+
+
+#endif // MPI_STATS_H