diff options
Diffstat (limited to 'automation/source/server/profiler.hxx')
-rw-r--r-- | automation/source/server/profiler.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/automation/source/server/profiler.hxx b/automation/source/server/profiler.hxx index e5c3b6d02a15..fd4556ec47cb 100644 --- a/automation/source/server/profiler.hxx +++ b/automation/source/server/profiler.hxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,12 +36,12 @@ #include <tools/string.hxx> #include <vcl/timer.hxx> -#define PROFILE_START 0x01 -#define PROFILE_END 0x02 +#define PROFILE_START 0x01 +#define PROFILE_END 0x02 struct SysdepProfileSnapshot; -struct SysdepStaticData; // Nicht wirklich statisch, sondern statisch ber mehrere Snapshots +struct SysdepStaticData; // Nicht wirklich statisch, sondern statisch ber mehrere Snapshots struct ProfileSnapshot { @@ -58,13 +58,13 @@ public: TTProfiler(); ~TTProfiler(); - String GetProfileHeader(); // Titelzeile fr Logdatei - void StartProfileInterval( BOOL bReadAnyway = FALSE ); // Zustand merken - void EndProfileInterval(); // Informationszeile zusammenbauen + String GetProfileHeader(); // Titelzeile fr Logdatei + void StartProfileInterval( BOOL bReadAnyway = FALSE ); // Zustand merken + void EndProfileInterval(); // Informationszeile zusammenbauen String GetProfileLine( String &aPrefix ); - void StartProfilingPerCommand(); // Jeden Befehl mitschneiden + void StartProfilingPerCommand(); // Jeden Befehl mitschneiden void StopProfilingPerCommand(); BOOL IsProfilingPerCommand() { return bIsProfilingPerCommand; } @@ -73,9 +73,9 @@ public: BOOL IsPartitioning() { return bIsPartitioning; } ULONG GetPartitioningTime(); - void StartAutoProfiling( ULONG nMSec ); // Automatisch alle nMSec Milisekunden sampeln - String GetAutoProfiling(); // Aktuelle `Sammlung` abholen - void StopAutoProfiling(); // Sampeln beenden + void StartAutoProfiling( ULONG nMSec ); // Automatisch alle nMSec Milisekunden sampeln + String GetAutoProfiling(); // Aktuelle `Sammlung` abholen + void StopAutoProfiling(); // Sampeln beenden BOOL IsAutoProfiling() { return bIsAutoProfiling; } private: @@ -97,7 +97,7 @@ private: BOOL bIsPartitioning; -// Fr das Automatische Profiling in festen Intervallen +// Fr das Automatische Profiling in festen Intervallen ProfileSnapshot *pAutoStart; ProfileSnapshot *pAutoEnd; @@ -109,11 +109,11 @@ private: // Einige Hilfsfunktionen -// String Hex( ULONG nNr ); - String Dec( ULONG nNr ); // Ergebnis = nNr / 100 mit 2 Dezimalen - String Pad( const String aS, xub_StrLen nLen ); // Fgt blanks links an den String an +// String Hex( ULONG nNr ); + String Dec( ULONG nNr ); // Ergebnis = nNr / 100 mit 2 Dezimalen + String Pad( const String aS, xub_StrLen nLen ); // Fgt blanks links an den String an -/* Ab hier werden die Methoden Systemabhngig in den entsprechenden cxx implementiert +/* Ab hier werden die Methoden Systemabhngig in den entsprechenden cxx implementiert Sie werden von den oberen Methoden gerufen. */ |