mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[RombaSharp] Clarify some features
This commit is contained in:
@@ -57,25 +57,6 @@ namespace RombaSharp
|
|||||||
dbc.Dispose();
|
dbc.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Display the current memory usage of the application
|
|
||||||
/// </summary>
|
|
||||||
private static void DisplayMemoryStats()
|
|
||||||
{
|
|
||||||
Process proc = Process.GetCurrentProcess();
|
|
||||||
|
|
||||||
Globals.Logger.User("Current Nonpaged Memory: {0}", Utilities.GetBytesReadable(proc.NonpagedSystemMemorySize64));
|
|
||||||
Globals.Logger.User("Current Paged Memory: {0}", Utilities.GetBytesReadable(proc.PagedMemorySize64));
|
|
||||||
Globals.Logger.User("Peak Paged Memory: {0}", Utilities.GetBytesReadable(proc.PeakPagedMemorySize64));
|
|
||||||
Globals.Logger.User("Peak Virtual Memory: {0}", Utilities.GetBytesReadable(proc.PeakVirtualMemorySize64));
|
|
||||||
Globals.Logger.User("Peak Working Memory: {0}", Utilities.GetBytesReadable(proc.PeakWorkingSet64));
|
|
||||||
Globals.Logger.User("Private Memory: {0}", Utilities.GetBytesReadable(proc.PrivateMemorySize64));
|
|
||||||
Globals.Logger.User("Virtual Memory: {0}", Utilities.GetBytesReadable(proc.VirtualMemorySize64));
|
|
||||||
Globals.Logger.User("Working Memory: {0}", Utilities.GetBytesReadable(proc.WorkingSet64));
|
|
||||||
Globals.Logger.User("Total Processor Time: {0}", proc.TotalProcessorTime);
|
|
||||||
Globals.Logger.User("User Processor Time: {0}", proc.UserProcessorTime);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Export the current database to CSV
|
/// Export the current database to CSV
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ namespace RombaSharp
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private static void InitCancel()
|
private static void InitCancel()
|
||||||
{
|
{
|
||||||
Globals.Logger.Error("This feature is not yet implemented: cancel");
|
Globals.Logger.User("This feature is obsolete: cancel");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -470,7 +470,7 @@ namespace RombaSharp
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private static void InitMemstats()
|
private static void InitMemstats()
|
||||||
{
|
{
|
||||||
DisplayMemoryStats();
|
Globals.Logger.User("This feature is obsolete: cancel");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -506,7 +506,7 @@ namespace RombaSharp
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private static void InitProgress()
|
private static void InitProgress()
|
||||||
{
|
{
|
||||||
Globals.Logger.Error("This feature is not yet implemented: progress");
|
Globals.Logger.User("This feature is obsolete: progress");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -580,7 +580,7 @@ namespace RombaSharp
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private static void InitShutdown()
|
private static void InitShutdown()
|
||||||
{
|
{
|
||||||
Globals.Logger.Error("This feature is not yet implemented: shutdown");
|
Globals.Logger.User("This feature is obsolete: shutdown");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -588,7 +588,7 @@ namespace RombaSharp
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private static void InitVersion()
|
private static void InitVersion()
|
||||||
{
|
{
|
||||||
Globals.Logger.Error("This feature is not yet implemented: version");
|
Globals.Logger.User("RombaSharp version: {0}", Constants.Version);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user