Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kraudust committed Jun 30, 2023
1 parent 901e77b commit 89e5dd7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
18 changes: 9 additions & 9 deletions include/linux_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,6 @@ long Jiffies();
*/
long ActiveJiffies();

/**
* @brief This returns the total number of active Jiffies for the process
*
* @param[in] pid: process id
*
* @return total number of active Jiffies for the process
*/
long ActiveJiffies(int pid);

/**
* @brief This returns the total number of idle Jiffies for the system
*
Expand Down Expand Up @@ -156,6 +147,15 @@ std::string Uid(int pid);
*/
std::string User(int pid);

/**
* @brief This returns the total number of active Jiffies for the process
*
* @param[in] pid: process id
*
* @return total number of active Jiffies for the process
*/
long ActiveJiffies(int pid);

/**
* @brief Read and return the uptime of a process in seconds
*
Expand Down
5 changes: 5 additions & 0 deletions include/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

class Processor {
public:
/**
* @brief This returns the processor utilization (0->1)
*
* @return processor utilization (0->1)
*/
float Utilization();

private:
Expand Down

0 comments on commit 89e5dd7

Please sign in to comment.