Home
last modified time | relevance | path

Searched refs:shard (Results 1 – 2 of 2) sorted by relevance

/tools/perf/util/
A Dthreads.c28 hashmap__init(&table->shard, key_hash, key_equal, NULL); in threads__init()
40 hashmap__clear(&table->shard); in threads__exit()
53 nr += hashmap__size(&table->shard); in threads__nr()
100 if (hashmap__find(&table->shard, tid, &res)) in threads__find()
118 if (hashmap__add(&table->shard, tid, res)) { in threads__findnew()
122 if (hashmap__find(&table->shard, tid, &res)) in threads__findnew()
144 hashmap__for_each_entry_safe(&table->shard, cur, tmp, bkt) { in threads__remove_all_threads()
147 hashmap__delete(&table->shard, cur->key, /*old_key=*/NULL, &old_value); in threads__remove_all_threads()
163 hashmap__delete(&table->shard, thread__tid(thread), /*old_key=*/NULL, &old_value); in threads__remove()
178 hashmap__for_each_entry(&table->shard, cur, bkt) { in threads__for_each_thread()
A Dthreads.h15 struct hashmap shard; member

Completed in 815 milliseconds