HomeSort by: relevance | last modified time | path
    Searched refs:Counter (Results 1 - 14 of 14) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/tool/pps/
pps_counter.cc 19 Counter::Counter(int32_t id, const std::string &name, int32_t group)
24 assert(id >= 0 && "Invalid counter ID");
28 bool Counter::operator==(const Counter &other) const
pps_counter.h 32 class Counter
35 /// @brief A counter value can be of different types depending on what it represents:
46 /// @param c Counter which we want to retrieve a value
48 /// @return The value of the counter
49 using Getter = Value(const Counter &c, const Driver &d);
51 Counter() = default;
52 virtual ~Counter() = default;
54 /// @param id ID of the counter
55 /// @param name Name of the counter
56 /// @param group Group ID this counter belongs t
    [all...]
pps_driver.h 51 /// @brief Enable a counter by its ID
80 /// List of counter groups
84 std::vector<Counter> counters;
87 std::vector<Counter> enabled_counters;
pps_datasource.cc 174 std::vector<Counter> const &counters,
177 // Start a counter descriptor
186 for (auto const &counter : counters) {
188 spec->set_counter_id(counter.id);
189 spec->set_name(counter.name);
192 switch (counter.units) {
193 case Counter::Units::Percent:
196 case Counter::Units::Byte:
199 case Counter::Units::Hertz:
202 case Counter::Units::None
    [all...]
  /xsrc/external/mit/libX11/dist/src/xlibi18n/
XimProto.h 217 register int Counter = XIM_PAD((int)length); \
218 if (Counter) { \
220 length += Counter; \
221 for (; Counter; --Counter, ++Ptr) \
  /xsrc/external/mit/MesaLib/dist/src/freedreno/ds/
fd_pps_driver.h 48 * The memory mapped i/o space for counter readback:
80 const struct fd_perfcntr_counter *counter; member in struct:pps::FreedrenoDriver::CountableState
87 * blocks of the GPU, where each counter can be can be muxed to collect
92 * with various formulas to derive the high level "Counter" value exposed
122 * A derived "Counter" (from pps's perspective)
124 class DerivedCounter : public Counter {
126 DerivedCounter(FreedrenoDriver *d, std::string name, Counter::Units units,
130 DerivedCounter counter(std::string name, Counter::Units units,
fd_pps_driver.cc 58 counter("GPU Frequency", Counter::Units::Hertz, [=]() {
63 counter("GPU % Utilization", Counter::Units::Percent, [=]() {
69 counter("ALU / Fragment", Counter::Units::None, [=]() {
75 counter("TP L1 Cache Misses", Counter::Units::None, [=]() {
80 counter("Shader Core Utilization", Counter::Units::Percent, [=]()
292 const struct fd_perfcntr_counter *counter = d->state[id].counter; local
322 const struct fd_perfcntr_counter *counter = d->state[id].counter; local
384 FreedrenoDriver::counter(std::string name, Counter::Units units, function in class:pps::FreedrenoDriver
387 auto counter = DerivedCounter(this, name, units, derive); local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/panfrost/ds/
pan_pps_driver.cc 51 std::pair<std::vector<CounterGroup>, std::vector<Counter>>
54 std::pair<std::vector<CounterGroup>, std::vector<Counter>> ret;
66 Counter counter = {}; local
67 counter.id = cid;
68 counter.group = gid;
71 counter.name = category.counters[id_within_group].name;
73 counter.set_getter([](const Counter &c, const Driver &d) {
77 const auto counter = &perf->cfg->categories[c.group].counters[id_within_group]
    [all...]
pan_pps_driver.h 28 /// @param A list of mali counter names
29 /// @return A pair with two lists: counter groups and available counters
30 static std::pair<std::vector<CounterGroup>, std::vector<Counter>> create_available_counters(
  /xsrc/external/mit/MesaLib/dist/src/intel/ds/
intel_pps_driver.cc 36 auto &counter = counters[counter_id]; local
37 auto &group = groups[counter.group];
50 enabled_counters.emplace_back(counter);
62 auto &counter = counters[counter_id]; local
63 enabled_counters.emplace_back(counter);
150 intel_perf_query_counter &counter = query->counters[i]; local
152 // Create counter
153 Counter counter_desc = {};
155 counter_desc.name = counter.symbol_name;
157 counter_desc.getter = [counter, query, this]
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/panfrost/perf/
pan_gen_perf.py 47 class Counter:
48 # category Category owning the counter
57 self.underscore_name = self.xml.get("counter").lower()
72 self.counters.append(Counter(self, xml_counter))
193 counter = category.counters[j]
199 c.write(".name = \"%s\"," % (counter.name))
200 c.write(".desc = \"%s\"," % (counter.desc.replace("\\", "\\\\")))
201 c.write(".symbol_name = \"%s\"," % (counter.underscore_name))
202 c.write(".units = PAN_PERF_COUNTER_UNITS_%s," % (counter.units.upper()))
203 c.write(".offset = %u," % (counter.offset)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/intel/perf/
gen_perf.py 198 def output_rpn_equation_code(set, counter, equation):
220 raise Exception("Failed to resolve variable " + operand + " in equation " + equation + " for " + set.name + " :: " + counter.get('name'));
230 counter.get('name') + ".\nThis is probably due to some unhandled RPN function, in the equation \"" +
242 def splice_rpn_expression(set, counter, expression):
258 raise Exception("Failed to resolve variable " + operand + " in expression " + expression + " for " + set.name + " :: " + counter.get('name'));
267 counter.get('name') + ".\nThis is probably due to some unhandled RPN operation, in the expression \"" +
272 def output_counter_read(gen, set, counter):
274 c("/* {0} :: {1} */".format(set.name, counter.get('name')))
276 if counter.read_hash in hashed_funcs:
277 c("#define %s \\" % counter.read_sym
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/intel/perf/
gen_perf.py 190 def output_rpn_equation_code(set, counter, equation):
212 raise Exception("Failed to resolve variable " + operand + " in equation " + equation + " for " + set.name + " :: " + counter.get('name'));
222 counter.get('name') + ".\nThis is probably due to some unhandled RPN function, in the equation \"" +
234 def splice_rpn_expression(set, counter, expression):
250 raise Exception("Failed to resolve variable " + operand + " in expression " + expression + " for " + set.name + " :: " + counter.get('name'));
259 counter.get('name') + ".\nThis is probably due to some unhandled RPN operation, in the expression \"" +
264 def output_counter_read(gen, set, counter):
266 c("/* {0} :: {1} */".format(set.name, counter.get('name')))
268 if counter.read_hash in hashed_funcs:
269 c("#define %s \\" % counter.read_sym
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/util/
00-mesa-defaults.conf 723 <application name="Counter-Strike Global Offensive" executable="csgo_linux64">

Completed in 14 milliseconds