You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
720 B
24 lines
720 B
@echo off
|
|
|
|
rem This version instruments gdiplus.dll for memory profiling.
|
|
|
|
rem Runs IcePick on gdiplus.dll. Saves the old gdiplus.dll
|
|
rem as gdiplus.beforecap.dll.
|
|
|
|
echo Running IcePick on gdiplus.dll
|
|
|
|
pushd %~dp0..\Engine\Flat\dll\obj\i386
|
|
|
|
if not exist gdiplus.dll echo gdiplus.dll not found & goto exit
|
|
%ICECAP%\icepick -EXCLUDE:MC_LogAllocation -EXCLUDE:GpMalloc -EXCLUDE:EngAllocMem -EXCLUDE:DynArrayImpl::Grow -EXCLUDE:DynArrayImpl::AddMultiple gdiplus.dll
|
|
if errorlevel 1 goto Error
|
|
|
|
if exist gdiplus.beforecap.dll del gdiplus.beforecap.dll
|
|
ren gdiplus.dll gdiplus.beforecap.dll
|
|
ren gdiplus.cap.dll gdiplus.dll
|
|
goto :exit
|
|
:Error
|
|
echo:
|
|
echo Aborted - IcePick reported an error.
|
|
:exit
|
|
popd
|