Changeset 2838 for trunk/src/kWorker


Ignore:
Timestamp:
Aug 25, 2016, 11:46:25 PM (9 years ago)
Author:
bird
Message:

kWorker: A little more hacking.

Location:
trunk/src/kWorker
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kWorker/Makefile.kmk

    r2836 r2838  
    2424#
    2525
    26 ## @todo fixme!!!
    27 KBUILD_WITH_STATIC_MSVCRT = 1
    2826
    2927SUB_DEPTH = ../..
     
    3230
    3331PROGRAMS += kWorker
    34 kWorker_TEMPLATE = BIN
     32kWorker_TEMPLATE = BIN-STATIC-THREADED
    3533kWorker_INCS = kStuff/include
    3634kWorker_DEFS.debug = K_STRICT
     
    3937kWorker_LIBS = \
    4038        $(kStuff_1_TARGET) \
    41         $(LIB_KDEP) \
    42         $(LIB_KUTIL)
     39        $(kWorkerLib_1_TARGET)
    4340include $(KBUILD_PATH)/sdks/WINDDK71.kmk
    4441kWorker_LIBS.win = \
    45         $(TEMPLATE_BIN_LIBS) \
     42        $(TEMPLATE_BIN-STATIC-THREADED_LIBS) \
    4643        $(PATH_SDK_WINDDK71_LIB_WNET)/ntdll.lib
    4744kWorker_LDFLAGS.win = \
     
    5047
    5148#
     49# Stuff from ../libs.  Need to rebuilt it with static CRT.
     50#
     51LIBRARIES += kWorkerLib
     52kWorkerLib_TEMPLATE = LIB-STATIC-THREADED
     53kWorkerLib_DEFPATH = ../lib # Need fix from r2837.
     54kWorkerLib_DEFPATH := $(PATH_SUB_CURRENT)/../lib
     55kWorkerLib_SOURCES = \
     56        crc32.c \
     57        md5.c
     58kWorkerLib_SOURCES.win = \
     59        nt_fullpath.c \
     60        quoted_spawn.c \
     61       nt/nthlpcore.c \
     62       nt/nthlpfs.c \
     63       nt/ntdir.c \
     64       nt/ntstat.c \
     65       nt/ntunlink.c
     66
     67#
    5268# kStuff library.
    5369#
    5470LIBRARIES += kStuff
    55 kStuff_TEMPLATE = LIB
     71kStuff_TEMPLATE = LIB-STATIC-THREADED
    5672kStuff_DEFS.debug = K_STRICT
    5773kStuff_INCS = kStuff/include
  • trunk/src/kWorker/kWorker.c

    r2836 r2838  
    49224922#else
    49234923// Skylake (W10/amd64, only stdandard MS defender):
    4924 //     run 4: 32.67/1024 = 0x0 (0.031904296875)
    4925 //     run 3: 32.77/1024 = 0x0 (0.032001953125)
    4926 //     run 2: 34/1024 = 0x0 (0.033203125)
    4927 //     run 1: 37/1024 = 0x0 (0.0361328125)
    4928 //     kmk 1: 44/1024 = 0x0 (0.04296875)
    4929 //     cmd 1: 48/1024 = 0x0 (0.046875)
     4924//     cmd 1:  48    /1024 = 0x0 (0.046875)        [for /l %i in (1,1,1024) do ...]
     4925//     kmk 1:  44    /1024 = 0x0 (0.04296875)      [all: ; 1024 x cl.exe]
     4926//     run 1:  37    /1024 = 0x0 (0.0361328125)    [just process creation gain]
     4927//     run 2:  34    /1024 = 0x0 (0.033203125)     [get file attribs]
     4928//     run 3:  32.77 /1024 = 0x0 (0.032001953125)  [read caching of headers]
     4929//     run 4:  32.67 /1024 = 0x0 (0.031904296875)  [loader tweaking]
     4930//     run 5:  29.144/1024 = 0x0 (0.0284609375)    [with temp files in memory]
    49304931// Dell (W7/amd64, infected by mcafee):
    49314932//     kmk 1: 285.278/1024 = 0x0 (0.278591796875)
Note: See TracChangeset for help on using the changeset viewer.