<> <> <> <> <> <> <<>> <<-- Starting Dragoman>> ///commands/compile Foo.mesa Dragoman Run AssociativeCacheImpl Run DirectMapCacheImpl -- Initializing the thing _ &handle _ Dragoman.Start[backingFile: "TwoTierExample.ts", instr: 1, data: 1] -- number of caches <<-- Create the caches>> _ &mc _ DirectMapCache.NewCache[lines: 300, wordsPerQuad: 4] -- map cache _ &rc _ DirectMapCache.NewCache[lines: 512, wordsPerQuad: 8] -- real cache _ Dragoman.SetInstructionCache[handle: &handle, number: 0, cache: DirectMapCache.NewCache[lines: 4096, quadsPerLine: 1, realCache: &rc, mapCache: &mc]] -- instruction cache _ Dragoman.SetDataCache[handle: &handle, number: 0, cache: DirectMapCache.NewCache[lines: 4096, quadsPerLine: 1, realCache: &rc, mapCache: &mc]] -- data cache <<-- Marking interesting GFI's>> _ Dragoman.MarkGFIs[&handle, LIST ["CompilerClientCommandImpl", "CompilerServerCommandImpl", "CompilerSequencer", "Pass3", "Pass1", "Pass3S", "Pass3B", "Code", "Pass2", "ObjectOut", "Driver", "SymbolPackExt", "FSStreamImpl", "FileStreamCreateImpl", "IOCommonImpl", "FileStreamImpl", "FSMainImpl1", "FileParmPack", "FSOpenFileImpl", "FSFileOpsImpl", "FSDirImpl", "FileImpl", "BTreeDelete", "IOPrintImpl", "BTreeWrite", "BTreeVMImpl", "FilePagesImpl", "DiskImpl", "UserProfileImpl", "RopeImpl", "BTreeRead", "IOClassesImpl"]] <<-- Running the simulation>> _ Dragoman.Run[&handle, "///commands/compile Foo.mesa"] _ &rc.print[&rc, &handle.tsOut, "Real cache"] _ &mc.print[&mc, &handle.tsOut, "Map cache"]