--- title: "dynamorio::drmemtrace::scheduler_tmpl_t< RecordType, ReaderType >::input_thread_info_t Struct Reference" layout: default permalink: /structdynamorio_1_1drmemtrace_1_1scheduler__tmpl__t_1_1input__thread__info__t.html ---
DynamoRIO
|
#include <scheduler.h>
Public Member Functions | |
input_thread_info_t (std::vector< range_t > regions) | |
input_thread_info_t (memref_tid_t tid, int priority) | |
input_thread_info_t (std::set< output_ordinal_t > output_binding) | |
Data Fields | |
size_t | struct_size = sizeof(input_thread_info_t) |
std::vector< memref_tid_t > | tids |
std::set< output_ordinal_t > | output_binding |
int | priority = 0 |
std::vector< range_t > | regions_of_interest |
Specifies details about one set of input trace files from one workload, each input file representing a single software thread. It is assumed that there is no thread id duplication within one workload.
|
inlineexplicit |
Convenience constructor for common usage.
|
inline |
Convenience constructor for common usage.
|
inline |
Convenience constructor for placing all threads for one workload on a set of cores for a static partitioning.
std::set<output_ordinal_t> dynamorio::drmemtrace::scheduler_tmpl_t< RecordType, ReaderType >::input_thread_info_t::output_binding |
Limits these threads to this set of output streams. They will not be scheduled on any other output streams.
int dynamorio::drmemtrace::scheduler_tmpl_t< RecordType, ReaderType >::input_thread_info_t::priority = 0 |
Relative priority for scheduling. The default is 0. Higher values have higher priorities and will starve lower-priority inputs. Higher priorities out-weigh dependencies such as DEPENDENCY_TIMESTAMPS.
std::vector<range_t> dynamorio::drmemtrace::scheduler_tmpl_t< RecordType, ReaderType >::input_thread_info_t::regions_of_interest |
If non-empty, all input records outside of these ranges are skipped: it is as though the input were constructed by concatenating these ranges together. A TRACE_MARKER_TYPE_WINDOW_ID marker is inserted between ranges (with a value equal to the range ordinal) to notify the client of the discontinuity (but not before the first range nor between back-to-back regions with no separation), with a dynamorio::drmemtrace::TRACE_TYPE_THREAD_EXIT record inserted after the final range. These ranges must be non-overlapping and in increasing order.
size_t dynamorio::drmemtrace::scheduler_tmpl_t< RecordType, ReaderType >::input_thread_info_t::struct_size = sizeof(input_thread_info_t) |
Size of the struct for binary-compatible additions.
std::vector<memref_tid_t> dynamorio::drmemtrace::scheduler_tmpl_t< RecordType, ReaderType >::input_thread_info_t::tids |
Which threads the details in this structure apply to. If empty, the details apply to all not-yet-mentioned (by other 'tids' vectors in prior entries for this workload) threads in the dynamorio::drmemtrace::scheduler_tmpl_t::input_workload_t.