source: trunk/IPs/systemC/Environment/Cache/src/Cache_print.cpp @ 118

Last change on this file since 118 was 81, checked in by rosiere, 17 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 491 bytes
Line 
1#include "../include/Cache.h"
2
3namespace environment {
4namespace cache {
5
6  std::ostream& operator<< (std::ostream& output, Cache & x)
7  {
8    output << x.information(0) << std::endl;
9
10    for (uint32_t i=0; i<x.param->nb_cache_dedicated; i++)
11      output << *(x.icache_dedicated[i]) << std::endl;
12    for (uint32_t i=0; i<x.param->nb_cache_dedicated; i++)
13      output << *(x.dcache_dedicated[i]) << std::endl;
14
15    output << *(x.cache_shared) << std::endl;
16
17    return output;
18  }
19
20};
21};
Note: See TracBrowser for help on using the repository browser.