This commit is contained in:
LYC 2024-10-28 14:58:57 +08:00
parent 02d26b6c7a
commit c19d6f475d
1 changed files with 2 additions and 2 deletions

View File

@ -13,12 +13,12 @@ int main(int argc, char *argv[])
auto fileName = std::string(argv[6]);
struct stat buffer;
if (stat(("../traces/" + argv[6]).c_str(), &buffer))
if (stat(("../traces/" + fileName).c_str(), &buffer))
{
throw "traces file Err.";
}
auto cache = new Cache(argv[]);
auto cache = new Cache(argv);
ifstream trace("../traces/" + fileName);
string line;