set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_20
set SPEC_HOME=D:\Documents\diplom\spec
set SPEC_PARAMS=-Dspecjvm.home.dir=%SPEC_HOME% -Dspecjvm.result.dir=.
set MEMORY_PROFILER_DLL=D:\Documents\diplom\agent\memoryProfiler.dll
set TPTP_AGENT=D:\TPTP\agent\plugins\org.eclipse.tptp.javaprofiler\JPIBootLoader.dll=JPIAgent:server=standalone,format=xml,file=log.trcxml;HeapProf:allocsites=true
set OUT_FILE=log.txt
java -Xmx1024m -agentpath:%MEMORY_PROFILER_DLL% -agentpath:%TPTP_AGENT%  %SPEC_PARAMS% -jar %SPEC_HOME%\SPECjvm2008.jar startup compress crypto mpegaudio scimark xml -ikv > full.%OUT_FILE%
REM java -Xmx1024m -agentpath:%MEMORY_PROFILER_DLL% -agentpath:%TPTP_AGENT%  %SPEC_PARAMS% -jar %SPEC_HOME%\SPECjvm2008.jar compiler -ikv > compiler.%OUT_FILE%
REM java -Xmx1024m -agentpath:%MEMORY_PROFILER_DLL% -agentpath:%TPTP_AGENT%  %SPEC_PARAMS% -jar %SPEC_HOME%\SPECjvm2008.jar compress -ikv > compress.%OUT_FILE%
REM java -Xmx1024m -agentpath:%MEMORY_PROFILER_DLL% -agentpath:%TPTP_AGENT%  %SPEC_PARAMS% -jar %SPEC_HOME%\SPECjvm2008.jar crypto -ikv > crypto.%OUT_FILE%
REM java -Xmx1024m -agentpath:%MEMORY_PROFILER_DLL% -agentpath:%TPTP_AGENT%  %SPEC_PARAMS% -jar %SPEC_HOME%\SPECjvm2008.jar derby -ikv > derby.%OUT_FILE%
REM java -Xmx1024m -agentpath:%MEMORY_PROFILER_DLL% -agentpath:%TPTP_AGENT%  %SPEC_PARAMS% -jar %SPEC_HOME%\SPECjvm2008.jar mpegaudio -ikv > mpegaudio.%OUT_FILE%
REM java -Xmx1024m -agentpath:%MEMORY_PROFILER_DLL% -agentpath:%TPTP_AGENT%  %SPEC_PARAMS% -jar %SPEC_HOME%\SPECjvm2008.jar scimark -ikv > scimark.%OUT_FILE%
REM java -Xmx1024m -agentpath:%MEMORY_PROFILER_DLL% -agentpath:%TPTP_AGENT%  %SPEC_PARAMS% -jar %SPEC_HOME%\SPECjvm2008.jar sunflow -ikv > sunflow.%OUT_FILE%
REM java -Xmx1024m -agentpath:%MEMORY_PROFILER_DLL% -agentpath:%TPTP_AGENT%  %SPEC_PARAMS% -jar %SPEC_HOME%\SPECjvm2008.jar xml -ikv > xml.%OUT_FILE%