mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Add fixes performance and static web server
This commit is contained in:
parent
b6793d42d5
commit
c45e46f871
108 changed files with 2927 additions and 819 deletions
|
@ -47,9 +47,9 @@ static noinline long times2(struct tms *out_times, struct rusage *ru) {
|
|||
&KernelTime, &UserTime)) {
|
||||
return winerr();
|
||||
}
|
||||
filetimetotimeval(&tv, UserTime);
|
||||
FileTimeToTimeVal(&tv, UserTime);
|
||||
out_times->tms_utime = convertmicros(&tv, tick);
|
||||
filetimetotimeval(&tv, KernelTime);
|
||||
FileTimeToTimeVal(&tv, KernelTime);
|
||||
out_times->tms_stime = convertmicros(&tv, tick);
|
||||
out_times->tms_cutime = 0;
|
||||
out_times->tms_cstime = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue