Tracing and Analysis Framework

drcachesim is a DynamoRIO client that collects instruction and memory access traces using its drmemtrace component and feeds them to either an online or offline tool for analysis. The default analysis tool is a CPU cache simulator, while other provided tools compute metrics such as reuse distance. The trace collector and simulator support multiple processes each with multiple threads. The analysis tool framework is extensible, supporting the creation of new tools which can operate both online and offline.

News: There are some new features in drmemtrace traces: conditional branches are now marked as taken or untaken, and indirect branch targets are provided up front. These join the recent features of embedded instruction encodings and fast seeking.