- Timestamp:
- May 11, 2011, 6:53:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/caba-ring-ccxcachev4_memcachev4-mips32el/top.cpp
r165 r167 49 49 50 50 // * Simulation 51 # define CONFIG_DEFAULT 51 # define CONFIG_DEFAULT "configuration/default.cfg" 52 52 # define NCYCLES_DEFAULT 0 53 53 # define SOFT_DEFAULT "soft/bin.soft" … … 64 64 std::cout << " - iways, isets, iwords," << std::endl; 65 65 std::cout << " - dways, dsets, dwords," << std::endl; 66 std::cout << " - wnwords, wnlines, wtimeout," << std::endl;66 std::cout << " - wnwords, wnlines, " << std::endl; 67 67 std::cout << " - memc_nways, memc_nsets, memc_words, memc_heap_size." << std::endl; 68 68 std::cout << " default : \"" << CONFIG_DEFAULT << "\"" << std::endl; … … 112 112 uint32_t iways, isets, iwords; 113 113 uint32_t dways, dsets, dwords; 114 uint32_t wnwords, wnlines , wtimeout;114 uint32_t wnwords, wnlines; 115 115 uint32_t memc_nways, memc_nsets, memc_words, memc_heap_size; 116 116 … … 149 149 if (not (inFile >> str)){std::cout << "Invalid parameters number in configuration file." << std::endl; usage(argv[0]);} 150 150 wnlines =std::atoi(str.c_str()); 151 if (not (inFile >> str)){std::cout << "Invalid parameters number in configuration file." << std::endl; usage(argv[0]);}152 wtimeout =std::atoi(str.c_str());153 151 if (not (inFile >> str)){std::cout << "Invalid parameters number in configuration file." << std::endl; usage(argv[0]);} 154 152 memc_nways =std::atoi(str.c_str()); … … 179 177 std::cout << " * wnwords : " << wnwords << std::endl; 180 178 std::cout << " * wnlines : " << wnlines << std::endl; 181 std::cout << " * wtimeout : " << wtimeout << std::endl;182 179 std::cout << " * memc_nways : " << memc_nways << std::endl; 183 180 std::cout << " * memc_nsets : " << memc_nsets << std::endl; … … 296 293 ,iways*nb_cpu_by_cache, isets, iwords 297 294 ,dways*nb_cpu_by_cache, dsets, dwords 298 ,wnwords, wnlines*nb_cpu_by_cache , wtimeout295 ,wnwords, wnlines*nb_cpu_by_cache 299 296 #endif 300 297 );
Note: See TracChangeset
for help on using the changeset viewer.