mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-19 22:48:03 +03:00
dbg wip
This commit is contained in:
parent
62dbdc1b49
commit
aa1cfca2dd
9
Makefile
9
Makefile
@ -1,15 +1,15 @@
|
||||
# A simple makefile.
|
||||
#
|
||||
|
||||
# Pick one of:
|
||||
# linux
|
||||
# osx
|
||||
|
||||
default: all
|
||||
-include make.conf
|
||||
|
||||
CORE=.MAKEFILE-VERSION
|
||||
|
||||
# Pick one of:
|
||||
# linux
|
||||
# osx
|
||||
|
||||
UNAME=$(shell uname)
|
||||
ifeq ($(UNAME),Darwin)
|
||||
OS=osx
|
||||
@ -65,6 +65,7 @@ MDEFINES=-DU3_OS_$(OS) -DU3_OS_ENDIAN_$(ENDIAN) -D U3_LIB=\"$(LIB)\"
|
||||
|
||||
# NOTFORCHECKIN - restore -O3
|
||||
CFLAGS= $(COSFLAGS) -O3 -msse3 -ffast-math \
|
||||
-DGHETTO \
|
||||
-funsigned-char \
|
||||
-I/usr/local/include \
|
||||
-I/opt/local/include \
|
||||
|
4
n/t.c
4
n/t.c
@ -52,8 +52,8 @@ u3t_slog(u3_noun hod)
|
||||
gettimeofday(&f2, 0);
|
||||
timersub(&f2, &b4, &d0);
|
||||
ms_w = (d0.tv_sec * 1000) + (d0.tv_usec / 1000);
|
||||
if(ms_w > 10){
|
||||
printf("%3d.%dms ", ms_w, (d0.tv_usec % 1000) / 10);
|
||||
if(ms_w > 10 || 1){
|
||||
printf("%3d.%02dms ", ms_w, (d0.tv_usec % 1000) / 10);
|
||||
gettimeofday(&b4, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user