Skip to content

Commit

Permalink
i#6831 sched refactor, step 4: Add missing includes (#7080)
Browse files Browse the repository at this point in the history
Adds used include files to the 3 scheduler subclasses that were omitted
when new overrides were added in step 3.

Issue: #6831
  • Loading branch information
derekbruening authored Nov 13, 2024
1 parent 6360656 commit 88abaaa
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
11 changes: 11 additions & 0 deletions clients/drcachesim/scheduler/scheduler_dynamic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,18 @@
#include "scheduler.h"
#include "scheduler_impl.h"

#include <atomic>
#include <cinttypes>
#include <cstdint>
#include <mutex>
#include <thread>

#include "memref.h"
#include "memtrace_stream.h"
#include "mutex_dbg_owned.h"
#include "reader.h"
#include "record_file_reader.h"
#include "trace_entry.h"

namespace dynamorio {
namespace drmemtrace {
Expand Down
10 changes: 10 additions & 0 deletions clients/drcachesim/scheduler/scheduler_fixed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,17 @@
#include "scheduler.h"
#include "scheduler_impl.h"

#include <atomic>
#include <cinttypes>
#include <cstdint>
#include <mutex>
#include <thread>

#include "memref.h"
#include "mutex_dbg_owned.h"
#include "reader.h"
#include "record_file_reader.h"
#include "trace_entry.h"

namespace dynamorio {
namespace drmemtrace {
Expand Down
2 changes: 1 addition & 1 deletion clients/drcachesim/scheduler/scheduler_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*/

#include "scheduler.h"
#include "scheduler_impl.h"

#include <inttypes.h>
#include <stdint.h>
Expand Down Expand Up @@ -61,7 +62,6 @@
#include "mutex_dbg_owned.h"
#include "reader.h"
#include "record_file_reader.h"
#include "scheduler_impl.h"
#include "trace_entry.h"
#ifdef HAS_LZ4
# include "lz4_file_reader.h"
Expand Down
10 changes: 10 additions & 0 deletions clients/drcachesim/scheduler/scheduler_replay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,17 @@
#include "scheduler.h"
#include "scheduler_impl.h"

#include <atomic>
#include <cinttypes>
#include <cstdint>
#include <mutex>
#include <thread>

#include "memref.h"
#include "mutex_dbg_owned.h"
#include "reader.h"
#include "record_file_reader.h"
#include "trace_entry.h"

namespace dynamorio {
namespace drmemtrace {
Expand Down

0 comments on commit 88abaaa

Please sign in to comment.