#pragma warning restore CS0618 // Type or member is obsolete
/// <summary>
- /// Gets the value of the feature.
+ /// Gets the value of the feature. It accepts both system and runtime feature key.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <typeparam name="T">The type of <paramref name="value"/>.</typeparam>
namespace Tizen.System
{
/// <summary>
- /// The class for CPU usage per process.
+ /// The class for CPU usage per given list of process.
/// </summary>
/// <since_tizen> 3 </since_tizen>
public class ProcessCpuUsage
private Interop.RuntimeInfo.ProcessCpuUsage[] Usages;
/// <summary>
- /// The constructor of ProcessCpuUsage class.
+ /// The constructor of ProcessCpuUsage class of the given list of process. It internally call Update() on constructing an instance.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">List of unique process ids.</param>
}
/// <summary>
- /// The number of usage entries.
+ /// The number of processes being tracked by the instance.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public int Count { get; internal set; }
/// <summary>
- /// Gets the amount of time this process has been scheduled in user mode.
+ /// Gets the amount of time this process has been scheduled in user mode. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">The process id.</param>
}
/// <summary>
- /// Gets the amount of time this process has been scheduled in kernel mode.
+ /// Gets the amount of time this process has been scheduled in kernel mode. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">The process id.</param>
}
/// <summary>
- /// Update the process CPU usage to the latest.
+ /// Update CPU usage of the given processes to the latest.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">List of unique process ids.</param>
private int[] Gems;
/// <summary>
- /// The constructor of ProcessMemoryInformation class.
+ /// The constructor of ProcessMemoryInformation class of the given list of process. It internally call Update() on constructing an instance.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">List of unique process ids.</param>
}
/// <summary>
- /// The number of usage entries.
+ /// The number of processes being tracked by the instance.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public int Count => Pids.Length;
/// <summary>
- /// Gets the virtual memory size of a process.
+ /// Gets the virtual memory size of the given process. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">The process id.</param>
}
/// <summary>
- /// Gets the resident set size of a process.
+ /// Gets the resident set size of the given process. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">The process id.</param>
}
/// <summary>
- /// Gets the proportional set size of a process.
+ /// Gets the proportional set size of the given process. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">The process id.</param>
}
/// <summary>
- /// Gets the size not modified and mapped by other processes of a process.
+ /// Gets the memory size of the given process that is not modified and mapped by other processes. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">The process id.</param>
}
/// <summary>
- /// Gets the size modified and mapped by other processes of a process.
+ /// Gets the memory size of the given process that is modified and mapped by other processes. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">The process id.</param>
}
/// <summary>
- /// Gets the size not modified and available only to that process of a process.
+ /// Gets the memory size of the given process that is not modified and available only to it. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">The process id.</param>
}
/// <summary>
- /// Gets the size modified and available only to that process of a process.
+ /// Gets the memory size of the given process that is modified and available only to it. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="pid">The process id.</param>
}
/// <summary>
- /// Gets the GPU memory size of a process.
+ /// Gets the GPU memory size of the given process. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <param name="pid">The process id.</param>
/// <returns>The GPU memory size <paramref name="pid"/> is using (KiB).</returns>
}
/// <summary>
- /// Gets the resident set size in graphic execution manager of a process.
+ /// Gets the resident set size in graphic execution manager of a process. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <param name="pid">The process id.</param>
/// <returns>The resident set size <paramref name="pid"/> is using (KiB).</returns>
}
/// <summary>
- /// Gets the SWAP memory size of a process.
+ /// Gets the SWAP memory size of the given process. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <param name="pid">The process id.</param>
/// <returns>The SWAP memory size <paramref name="pid"/> is using (KiB).</returns>
namespace Tizen.System
{
/// <summary>
- /// The class for system CPU usage.
+ /// The class for CPU usage information of the system.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public class SystemCpuUsage
private int[] MaxFrequencies;
/// <summary>
- /// The constructor of SystemCpuUsage class.
+ /// The constructor of SystemCpuUsage class. It internally call Update() on constructing an instance.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <exception cref="IOException">Thrown when an I/O error occurs while reading from the system.</exception>
}
/// <summary>
- /// Running time of un-niced user processes (Percent).
+ /// Running time of un-niced user processes (Percent). To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public double User
}
/// <summary>
- /// Running time of kernel processes (Percent).
+ /// Running time of kernel processes (Percent). To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public double System
}
/// <summary>
- /// Running time of niced user processes (Percent).
+ /// Running time of niced user processes (Percent). To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public double Nice
}
/// <summary>
- /// Time waiting for I/O completion (Percent).
+ /// Time waiting for I/O completion (Percent). To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public double IoWait
public int ProcessorCount { get; internal set; }
/// <summary>
- /// Gets the current frequency of the processor.
+ /// Gets the current frequency of the processor. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="coreId">The index (from 0) of the CPU core that you want to know the frequency of.</param>
}
/// <summary>
- /// Gets the max frequency of the processor.
+ /// Gets the max frequency of the processor. To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <param name="coreId">The index (from 0) of CPU core that you want to know the frequency of.</param>
}
/// <summary>
- /// Update the system CPU usage to the latest.
+ /// Update the system CPU usage information to the latest.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <exception cref="IOException">Thrown when an I/O error occurs while reading from the system.</exception>
namespace Tizen.System
{
/// <summary>
- /// The class for system memory information.
+ /// The class for memory usage information of the system.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public class SystemMemoryUsage
private Interop.RuntimeInfo.MemoryInfo Info;
/// <summary>
- /// The constructor of MemoryInformation class.
+ /// The constructor of MemoryInformation class. It internally call Update() on constructing an instance.
/// </summary>
/// <since_tizen> 4 </since_tizen>
/// <exception cref="IOException">Thrown when an I/O error occurs while reading from the system.</exception>
}
/// <summary>
- /// Total memory (KiB).
+ /// Total memory (KiB). To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public int Total
}
/// <summary>
- /// Used memory (KiB).
+ /// Used memory (KiB). To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public int Used
}
/// <summary>
- /// Free memory (KiB).
+ /// Free memory (KiB). To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public int Free
}
/// <summary>
- /// Cache memory (KiB).
+ /// Cache memory (KiB). To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public int Cache
}
/// <summary>
- /// Swap memory (KiB).
+ /// Swap memory (KiB). To get the latest value, it is recommended to call Update() before it.
/// </summary>
/// <since_tizen> 4 </since_tizen>
public int Swap