This commit is contained in:
Anton Dyudin 2015-02-19 21:27:23 -08:00
parent 62dbdc1b49
commit aa1cfca2dd
2 changed files with 7 additions and 6 deletions

View File

@ -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
View File

@ -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);
}
}