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

Last change on this file since 80 was 80, checked in by rosiere, 16 years ago

Oups, Environnement is french :P

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.