mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 17:28:30 +00:00
Make progress towards aarch64 build
This commit is contained in:
parent
08ff26c817
commit
ca2860947f
15428 changed files with 25694 additions and 23138 deletions
4
third_party/lz4cli/bench.c
vendored
4
third_party/lz4cli/bench.c
vendored
|
@ -43,7 +43,6 @@
|
|||
#include "libc/stdio/stdio.h" /* fprintf, fopen, ftello */
|
||||
#include "libc/time/time.h" /* clock_t, clock, CLOCKS_PER_SEC */
|
||||
#include "libc/assert.h"
|
||||
#include "libc/intrin/initializer.internal.h"
|
||||
#include "libc/runtime/runtime.h" /* assert */
|
||||
|
||||
#include "third_party/lz4cli/datagen.h" /* RDG_genBuffer */
|
||||
|
@ -99,8 +98,7 @@ static U32 g_displayLevel = 2; /* 0 : no display; 1: errors; 2 : + result
|
|||
{ g_time = clock(); DISPLAY(__VA_ARGS__); \
|
||||
if (g_displayLevel>=4) fflush(stdout); } }
|
||||
static clock_t g_time = 0;
|
||||
static clock_t refreshRate;
|
||||
INITIALIZER(300, _init_refreshRate1, { refreshRate = CLOCKS_PER_SEC * 15 / 100; });
|
||||
static clock_t refreshRate = CLOCKS_PER_SEC * 15 / 100;
|
||||
|
||||
|
||||
/* *************************************
|
||||
|
|
4
third_party/lz4cli/lz4io.c
vendored
4
third_party/lz4cli/lz4io.c
vendored
|
@ -54,7 +54,6 @@
|
|||
#include "third_party/lz4cli/lz4hc.h" /* still required for legacy format */
|
||||
#define LZ4F_STATIC_LINKING_ONLY
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/intrin/initializer.internal.h"
|
||||
#include "third_party/lz4cli/lz4frame.h"
|
||||
|
||||
|
||||
|
@ -99,8 +98,7 @@ static int g_displayLevel = 0; /* 0 : no display ; 1: errors ; 2 : + result
|
|||
if (g_displayLevel>=4) fflush(stderr); \
|
||||
} }
|
||||
static clock_t g_time = 0;
|
||||
static clock_t refreshRate;
|
||||
INITIALIZER(300, _init_refreshRate2, { refreshRate = CLOCKS_PER_SEC * 6; });
|
||||
static clock_t refreshRate = CLOCKS_PER_SEC * 6;
|
||||
|
||||
|
||||
/**************************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue