This commit is contained in:
parent
02d26b6c7a
commit
c19d6f475d
|
|
@ -13,12 +13,12 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
auto fileName = std::string(argv[6]);
|
auto fileName = std::string(argv[6]);
|
||||||
struct stat buffer;
|
struct stat buffer;
|
||||||
if (stat(("../traces/" + argv[6]).c_str(), &buffer))
|
if (stat(("../traces/" + fileName).c_str(), &buffer))
|
||||||
{
|
{
|
||||||
throw "traces file Err.";
|
throw "traces file Err.";
|
||||||
}
|
}
|
||||||
|
|
||||||
auto cache = new Cache(argv[]);
|
auto cache = new Cache(argv);
|
||||||
|
|
||||||
ifstream trace("../traces/" + fileName);
|
ifstream trace("../traces/" + fileName);
|
||||||
string line;
|
string line;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue