Exemplo n.º 1
0
 def setup_vamos_ram_trace(self):
     mem = self.machine.get_mem()
     self.mem_tracer = TraceMemory(mem, self)
     if not log_mem_int.isEnabledFor(logging.INFO):
         log_mem_int.setLevel(logging.INFO)
     # replace machine mem with trace memory
     self.machine.set_mem(self.mem_tracer)
Exemplo n.º 2
0
 def setup_vamos_ram_trace(self):
   mem = self.machine.get_mem()
   self.mem_tracer = TraceMemory(mem, self)
   if not log_mem_int.isEnabledFor(logging.INFO):
     log_mem_int.setLevel(logging.INFO)
Exemplo n.º 3
0
 def setup_cpu_mem_trace(self):
   self.machine.set_cpu_mem_trace_hook(self.trace_cpu_mem)
   if not log_mem_int.isEnabledFor(logging.INFO):
     log_mem_int.setLevel(logging.INFO)