Skip to content

Commit

Permalink
Reordered the members of the KSysInfo class.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed Oct 20, 2024
1 parent a2f5763 commit a473330
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/lib/ksysinfo/ksysinfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,6 @@ class KSysInfo
*/
long GetPageSize() const;
private:
/**
* Reads the sysinfo structure into the class fields.
* @exception Raises an instance of std::runtime_error on error.
*/
void ReadSysInfo();

/**
* Reads the SC_PAGESIZE system variable value.
*/
void ReadPageSize();

/**
* Stores current uptime (in seconds since boot) value.
*/
Expand Down Expand Up @@ -166,6 +155,17 @@ class KSysInfo
* Stores the system memory page size value.
*/
long PageSize;

/**
* Reads the sysinfo structure into the class fields.
* @exception Raises an instance of std::runtime_error on error.
*/
void ReadSysInfo();

/**
* Reads the SC_PAGESIZE system variable value.
*/
void ReadPageSize();
};

#endif // KSYSINFO_HPP

0 comments on commit a473330

Please sign in to comment.