mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Refactor generating starttime string into Process class
This commit is contained in:

committed by
cgzones

parent
783be7711d
commit
a63cfc8b7c
@ -56,8 +56,8 @@ void ProcessList_goThroughEntries(ProcessList* super) {
|
||||
proc->priority = 0;
|
||||
proc->nice = 0;
|
||||
proc->nlwp = 1;
|
||||
strncpy(proc->starttime_show, "Jun 01 ", sizeof(proc->starttime_show));
|
||||
proc->starttime_ctime = 1433116800; // Jun 01, 2015
|
||||
Process_fillStarttimeBuffer(proc);
|
||||
|
||||
proc->m_size = 100;
|
||||
proc->m_resident = 100;
|
||||
|
Reference in New Issue
Block a user