David Howells wrote:
>
> Do you have any benchmarks of wine rather than wineserver (which, I think, is
> where measurement is really needed for this issue)?
>
> Cheers,
> David Howells
The second data set would wine (I linked CPROF to the binary ./wine).
Here is the first 100 lines instead of 15.
Function Name calls func% func(ms) f+c% f+c(ms)
WINPROC_CallWndProc 24080 1270822242.050 40899241254689 60.181
1936812
1701 1270822155.129 40899238457284 100.000
3218330
server_call_noerr 199011 91.219 2935726 91.639 2949232
TryEnterCriticalSection 32758371 2.514 80916 5.918 190444
CRITSECTION_EnterCriticalSection 29248591 1.963 63183 11.495 369958
CRITSECTION_LeaveCriticalSection 29248590 1.931 62155 5.596 180098
__get_teb 97384526 1.888 60757 1.888 60757
EnterCriticalSection 32692276 1.430 46018 7.877 253493
LeaveCriticalSection 32758370 1.383 44513 3.617 116408
InterlockedDecrement 32772561 1.381 44460 2.095 67417
GetCurrentThreadId 32758382 1.359 43721 1.994 64189
PROCESS_Current 30111906 1.256 40406 1.838 59140
GetCurrentProcessId 29628267 1.236 39781 3.044 97950
InterlockedExchangeAdd 43758230 0.951 30621 0.951 30621
InterlockedCompareExchange 32759039 0.707 22756 0.707 22756
InterlockedIncrement 10985669 0.465 14964 0.703 22628
send_request 199271 0.412 13271 0.416 13395
X11DRV_DIB_GetImageBits 36 0.392 12611 0.419 13491
lstrlenA 6467367 0.157 5060 0.157 5060
_LeaveSysLevel 1905678 0.131 4206 0.404 13007
_EnterSysLevel 1905678 0.130 4195 0.671 21582
BITBLT_GetSrcArea 9365 0.107 3455 0.140 4507
BITBLT_InternalStretchBlt 162508 0.092 2958 0.612 19710
X11DRV_DIB_SetImageBits_24 874 0.085 2725 0.085 2725
LCMapStringA 94340 0.084 2702 0.156 5032
GDI_GetObjPtr 1493610 0.069 2220 0.584 18783
GDI_ReleaseObj 1491667 0.066 2115 0.357 11477
OLE2NLS_isPunctuation 2936714 0.057 1834 0.057 1834
X11DRV_DIB_SetImageBits 1241 0.057 1823 0.145 4673
X11DRV_BitBlt 161478 0.040 1289 1.042 33530
BITBLT_GetVisRectangles 162508 0.039 1255 0.222 7156
BitBlt 161478 0.035 1114 1.399 45012
IntersectRect 492206 0.034 1101 0.053 1715
HeapLock 412997 0.030 955 0.120 3870
MulDiv 1063221 0.029 929 0.029 929
DC_GetDCPtr 634853 0.028 916 0.257 8284
HeapUnlock 412997 0.028 909 0.082 2636
PE_InitDLL 112 0.028 887 0.162 5215
X11DRV_DIB_GetImageBits_24 29 0.027 872 0.027 872
MULTIMEDIA_MMTimeStart 378281 0.026 842 0.151 4846
VIRTUAL_FindView 473732 0.026 826 0.026 826
timeGetTime 378281 0.025 820 0.215 6932
HeapAlloc 120903 0.025 788 0.123 3960
lstrcpyA 255203 0.023 749 0.033 1078
HEAP_GetPtr 1094495 0.023 744 0.023 744
HeapFree 120798 0.023 739 0.111 3557
TSXLoadQueryFont 20 0.022 723 0.023 727
VIRTUAL_CheckFlags 472966 0.021 683 0.047 1502
IsBadWritePtr 472639 0.021 665 0.067 2164
X11DRV_DIB_UpdateDIBSection 500104 0.020 642 0.166 5343
IsRectEmpty 987161 0.019 615 0.019 615
_ConfirmSysLevel 442318 0.019 602 0.027 882
DC_GetDCUpdate 402626 0.018 574 0.172 5521
HEAP_CreateFreeBlock 224847 0.018 566 0.046 1486
WIN_LockWnds 340700 0.017 547 0.149 4785
WIN_UnlockWnds 340700 0.017 537 0.102 3275
WIN_ReleaseWndPtr 353025 0.017 534 0.118 3805
MULTIMEDIA_GetIData 378281 0.016 527 0.073 2333
MULTIMEDIA_GetIDataNoCheck 378282 0.016 526 0.056 1806
_ConfirmWin16Lock 378388 0.016 513 0.039 1265
GetCurrentTask 348291 0.015 484 0.037 1186
HEAP_FindFreeBlock 121100 0.013 433 0.018 594
SERVICE_LockTable 321872 0.013 432 0.083 2677
SERVICE_UnlockTable 321872 0.013 427 0.048 1538
CompareStringA 47170 0.013 426 0.267 8591
MSG_PeekMessage 38744 0.013 413 30.963 996504
USER_GetPtr 162658 0.012 401 0.094 3030
QUEUE_Lock 125021 0.012 398 0.075 2427
GetRgnBox 164161 0.012 396 0.119 3832
WIN_FindWndPtr 161746 0.012 374 0.172 5531
WIN_UpdateWndPtr 154087 0.011 356 0.129 4163
EVENT_GetGeometry 118 0.010 333 0.014 435
TSXSync 143 0.010 313 0.011 354
WIN_LockWndPtr 194758 0.009 289 0.089 2853
HeapValidate 116502 0.009 287 0.016 499
QUEUE_Unlock 124832 0.009 286 0.069 2208
get_req_buffer 199276 0.008 273 0.012 395
fixup_imports 23 0.008 269 0.112 3619
OBM_CreateBitmaps 56 0.008 269 0.011 358
HEAP_FindSubHeap 391022 0.008 253 0.008 253
RegEnumValueA 42362 0.008 242 0.112 3607
X11DRV_SelectObject 65177 0.007 239 0.284 9129
BITBLT_DoStretchBlt 162508 0.007 238 0.620 19949
WaitForMultipleObjectsEx 90265 0.007 236 91.202 2935173
PE_LoadImage 20 0.007 235 0.010 312
EVENT_ProcessAllEvents 9958 0.007 234 9.001 289691
X11DRV_PALETTE_ToPhysical 97983 0.007 234 0.072 2328
__pthread_mutex_unlock 175245 0.007 234 0.026 835
MSG_PeekHardwareMsg 35352 0.007 226 0.295 9493
WINSPOOL_APSUpdateRegistry 1 0.007 218 0.008 254
SelectObject 65177 0.007 216 0.337 10839
SERVICE_DoPendingDeletions 80468 0.007 211 0.045 1440
OffsetRect 326404 0.007 211 0.007 211
SetRect 325201 0.007 209 0.007 209
dump_exports 41 0.006 206 0.006 206
BUILTIN32_LoadLibraryExA 42 0.006 206 0.021 670
HEAP_MakeInUseBlockFree 114619 0.006 204 0.030 973
EXC_pop_frame 302555 0.006 199 0.006 199
PE_FindExportedFunction 10476 0.006 194 0.006 201
PROFILE_Load 6 0.006 192 0.012 381
CombineRgn 32442 0.006 191 0.061 1953
EXC_push_frame 302552 0.006 188 0.006 188
server_call 103081 0.006 187 91.361 2940310
MSG_SendMessage 19036 0.005 173 25.876 832780
-Jim
--
The address in the headers is not the poster's real email address. Do not send
private mail to the poster using your mailer's "reply" feature. CC's of mail
to mailing lists are OK. Problem reports to "[EMAIL PROTECTED]".
The poster's email address is "[EMAIL PROTECTED]".