{"action":"opened","issue":{"url":"https://api.github.com/repos/CSCE360025/Project/issues/11","labels_url":"https://api.github.com/repos/CSCE360025/Project/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/CSCE360025/Project/issues/11/comments","events_url":"https://api.github.com/repos/CSCE360025/Project/issues/11/events","html_url":"https://github.com/CSCE360025/Project/issues/11","id":67815030,"number":11,"title":"Fix the source vector in the Trace class","user":{"login":"krustchinsky","id":389009,"avatar_url":"https://avatars.githubusercontent.com/u/389009?v=3","gravatar_id":"","url":"https://api.github.com/users/krustchinsky","html_url":"https://github.com/krustchinsky","followers_url":"https://api.github.com/users/krustchinsky/followers","following_url":"https://api.github.com/users/krustchinsky/following{/other_user}","gists_url":"https://api.github.com/users/krustchinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/krustchinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krustchinsky/subscriptions","organizations_url":"https://api.github.com/users/krustchinsky/orgs","repos_url":"https://api.github.com/users/krustchinsky/repos","events_url":"https://api.github.com/users/krustchinsky/events{/privacy}","received_events_url":"https://api.github.com/users/krustchinsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CSCE360025/Project/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-11T18:11:01Z","updated_at":"2015-04-11T18:11:01Z","closed_at":null,"body":"Currently, we parse the trace files and store the contents of it as a pair of two values in a std::vector as follows:\r\n\r\n```c++\r\nstd::vector<std::pair<bool, std::string> > source;\r\n```\r\nThe issue is that we are actually storing a pair of operations (0 or 1) and hexadecimal values (the 32 bit memory address). So in an attempt to make this more clear, I'm going to add a enumeration and a type to defs.h, so we can re-structure our source vector to something like this:\r\n```c++\r\nstd::vector<std::pair<CacheOperation, MemoryAddress> > source;\r\n```"}}