HelenOS sources
new_data 247 uspace/app/top/top.c static void compute_percentages(data_t *old_data, data_t *new_data)
new_data 255 uspace/app/top/top.c for (i = 0; i < new_data->cpus_count; i++) {
new_data 257 uspace/app/top/top.c new_data->cpus[i].idle_cycles - old_data->cpus[i].idle_cycles;
new_data 259 uspace/app/top/top.c new_data->cpus[i].busy_cycles - old_data->cpus[i].busy_cycles;
new_data 262 uspace/app/top/top.c FRACTION_TO_FLOAT(new_data->cpus_perc[i].idle, idle * 100, sum);
new_data 263 uspace/app/top/top.c FRACTION_TO_FLOAT(new_data->cpus_perc[i].busy, busy * 100, sum);
new_data 273 uspace/app/top/top.c for (i = 0; i < new_data->tasks_count; i++) {
new_data 279 uspace/app/top/top.c if (new_data->tasks[i].task_id == old_data->tasks[j].task_id) {
new_data 287 uspace/app/top/top.c new_data->ucycles_diff[i] = 0;
new_data 288 uspace/app/top/top.c new_data->kcycles_diff[i] = 0;
new_data 292 uspace/app/top/top.c new_data->ucycles_diff[i] =
new_data 293 uspace/app/top/top.c new_data->tasks[i].ucycles - old_data->tasks[j].ucycles;
new_data 294 uspace/app/top/top.c new_data->kcycles_diff[i] =
new_data 295 uspace/app/top/top.c new_data->tasks[i].kcycles - old_data->tasks[j].kcycles;
new_data 297 uspace/app/top/top.c virtmem_total += new_data->tasks[i].virtmem;
new_data 298 uspace/app/top/top.c resmem_total += new_data->tasks[i].resmem;
new_data 299 uspace/app/top/top.c ucycles_total += new_data->ucycles_diff[i];
new_data 300 uspace/app/top/top.c kcycles_total += new_data->kcycles_diff[i];
new_data 305 uspace/app/top/top.c for (i = 0; i < new_data->tasks_count; i++) {
new_data 306 uspace/app/top/top.c FRACTION_TO_FLOAT(new_data->tasks_perc[i].virtmem,
new_data 307 uspace/app/top/top.c new_data->tasks[i].virtmem * 100, virtmem_total);
new_data 308 uspace/app/top/top.c FRACTION_TO_FLOAT(new_data->tasks_perc[i].resmem,
new_data 309 uspace/app/top/top.c new_data->tasks[i].resmem * 100, resmem_total);
new_data 310 uspace/app/top/top.c FRACTION_TO_FLOAT(new_data->tasks_perc[i].ucycles,
new_data 311 uspace/app/top/top.c new_data->ucycles_diff[i] * 100, ucycles_total);
new_data 312 uspace/app/top/top.c FRACTION_TO_FLOAT(new_data->tasks_perc[i].kcycles,
new_data 313 uspace/app/top/top.c new_data->kcycles_diff[i] * 100, kcycles_total);
new_data 321 uspace/app/top/top.c for (i = 0; i < new_data->exceptions_count; i++) {
new_data 331 uspace/app/top/top.c if (new_data->exceptions[i].id == old_data->exceptions[j].id) {
new_data 339 uspace/app/top/top.c new_data->ecycles_diff[i] = 0;
new_data 340 uspace/app/top/top.c new_data->ecount_diff[i] = 0;
new_data 344 uspace/app/top/top.c new_data->ecycles_diff[i] =
new_data 345 uspace/app/top/top.c new_data->exceptions[i].cycles - old_data->exceptions[j].cycles;
new_data 346 uspace/app/top/top.c new_data->ecount_diff[i] =
new_data 347 uspace/app/top/top.c new_data->exceptions[i].count - old_data->exceptions[i].count;
new_data 349 uspace/app/top/top.c ecycles_total += new_data->ecycles_diff[i];
new_data 350 uspace/app/top/top.c ecount_total += new_data->ecount_diff[i];
new_data 355 uspace/app/top/top.c for (i = 0; i < new_data->exceptions_count; i++) {
new_data 356 uspace/app/top/top.c FRACTION_TO_FLOAT(new_data->exceptions_perc[i].cycles,
new_data 357 uspace/app/top/top.c new_data->ecycles_diff[i] * 100, ecycles_total);
new_data 358 uspace/app/top/top.c FRACTION_TO_FLOAT(new_data->exceptions_perc[i].count,
new_data 359 uspace/app/top/top.c new_data->ecount_diff[i] * 100, ecount_total);
new_data 248 uspace/dist/src/c/demos/top/top.c static void compute_percentages(data_t *old_data, data_t *new_data)
new_data 256 uspace/dist/src/c/demos/top/top.c for (i = 0; i < new_data->cpus_count; i++) {
new_data 258 uspace/dist/src/c/demos/top/top.c new_data->cpus[i].idle_cycles - old_data->cpus[i].idle_cycles;
new_data 260 uspace/dist/src/c/demos/top/top.c new_data->cpus[i].busy_cycles - old_data->cpus[i].busy_cycles;
new_data 263 uspace/dist/src/c/demos/top/top.c FRACTION_TO_FLOAT(new_data->cpus_perc[i].idle, idle * 100, sum);
new_data 264 uspace/dist/src/c/demos/top/top.c FRACTION_TO_FLOAT(new_data->cpus_perc[i].busy, busy * 100, sum);
new_data 274 uspace/dist/src/c/demos/top/top.c for (i = 0; i < new_data->tasks_count; i++) {
new_data 280 uspace/dist/src/c/demos/top/top.c if (new_data->tasks[i].task_id == old_data->tasks[j].task_id) {
new_data 288 uspace/dist/src/c/demos/top/top.c new_data->ucycles_diff[i] = 0;
new_data 289 uspace/dist/src/c/demos/top/top.c new_data->kcycles_diff[i] = 0;
new_data 293 uspace/dist/src/c/demos/top/top.c new_data->ucycles_diff[i] =
new_data 294 uspace/dist/src/c/demos/top/top.c new_data->tasks[i].ucycles - old_data->tasks[j].ucycles;
new_data 295 uspace/dist/src/c/demos/top/top.c new_data->kcycles_diff[i] =
new_data 296 uspace/dist/src/c/demos/top/top.c new_data->tasks[i].kcycles - old_data->tasks[j].kcycles;
new_data 298 uspace/dist/src/c/demos/top/top.c virtmem_total += new_data->tasks[i].virtmem;
new_data 299 uspace/dist/src/c/demos/top/top.c resmem_total += new_data->tasks[i].resmem;
new_data 300 uspace/dist/src/c/demos/top/top.c ucycles_total += new_data->ucycles_diff[i];
new_data 301 uspace/dist/src/c/demos/top/top.c kcycles_total += new_data->kcycles_diff[i];
new_data 306 uspace/dist/src/c/demos/top/top.c for (i = 0; i < new_data->tasks_count; i++) {
new_data 307 uspace/dist/src/c/demos/top/top.c FRACTION_TO_FLOAT(new_data->tasks_perc[i].virtmem,
new_data 308 uspace/dist/src/c/demos/top/top.c new_data->tasks[i].virtmem * 100, virtmem_total);
new_data 309 uspace/dist/src/c/demos/top/top.c FRACTION_TO_FLOAT(new_data->tasks_perc[i].resmem,
new_data 310 uspace/dist/src/c/demos/top/top.c new_data->tasks[i].resmem * 100, resmem_total);
new_data 311 uspace/dist/src/c/demos/top/top.c FRACTION_TO_FLOAT(new_data->tasks_perc[i].ucycles,
new_data 312 uspace/dist/src/c/demos/top/top.c new_data->ucycles_diff[i] * 100, ucycles_total);
new_data 313 uspace/dist/src/c/demos/top/top.c FRACTION_TO_FLOAT(new_data->tasks_perc[i].kcycles,
new_data 314 uspace/dist/src/c/demos/top/top.c new_data->kcycles_diff[i] * 100, kcycles_total);
new_data 322 uspace/dist/src/c/demos/top/top.c for (i = 0; i < new_data->exceptions_count; i++) {
new_data 332 uspace/dist/src/c/demos/top/top.c if (new_data->exceptions[i].id == old_data->exceptions[j].id) {
new_data 340 uspace/dist/src/c/demos/top/top.c new_data->ecycles_diff[i] = 0;
new_data 341 uspace/dist/src/c/demos/top/top.c new_data->ecount_diff[i] = 0;
new_data 345 uspace/dist/src/c/demos/top/top.c new_data->ecycles_diff[i] =
new_data 346 uspace/dist/src/c/demos/top/top.c new_data->exceptions[i].cycles - old_data->exceptions[j].cycles;
new_data 347 uspace/dist/src/c/demos/top/top.c new_data->ecount_diff[i] =
new_data 348 uspace/dist/src/c/demos/top/top.c new_data->exceptions[i].count - old_data->exceptions[i].count;
new_data 350 uspace/dist/src/c/demos/top/top.c ecycles_total += new_data->ecycles_diff[i];
new_data 351 uspace/dist/src/c/demos/top/top.c ecount_total += new_data->ecount_diff[i];
new_data 356 uspace/dist/src/c/demos/top/top.c for (i = 0; i < new_data->exceptions_count; i++) {
new_data 357 uspace/dist/src/c/demos/top/top.c FRACTION_TO_FLOAT(new_data->exceptions_perc[i].cycles,
new_data 358 uspace/dist/src/c/demos/top/top.c new_data->ecycles_diff[i] * 100, ecycles_total);
new_data 359 uspace/dist/src/c/demos/top/top.c FRACTION_TO_FLOAT(new_data->exceptions_perc[i].count,
new_data 360 uspace/dist/src/c/demos/top/top.c new_data->ecount_diff[i] * 100, ecount_total);
new_data 1108 uspace/lib/cpp/include/__bits/adt/deque.hpp value_type** new_data = new value_type*[bucket_capacity_];
new_data 1119 uspace/lib/cpp/include/__bits/adt/deque.hpp new_data[i] = move(data_[j]);
new_data 1120 uspace/lib/cpp/include/__bits/adt/deque.hpp std::swap(data_, new_data);
new_data 1122 uspace/lib/cpp/include/__bits/adt/deque.hpp delete[] new_data;
new_data 527 uspace/lib/cpp/include/__bits/adt/vector.hpp auto new_data = allocator_.allocate(capacity);
new_data 531 uspace/lib/cpp/include/__bits/adt/vector.hpp new_data[i] = move(data_[i]);
new_data 533 uspace/lib/cpp/include/__bits/adt/vector.hpp std::swap(data_, new_data);
new_data 535 uspace/lib/cpp/include/__bits/adt/vector.hpp allocator_.deallocate(new_data, capacity_);
new_data 1542 uspace/lib/cpp/include/__bits/string/string.hpp auto new_data = allocator_.allocate(capacity);
new_data 1545 uspace/lib/cpp/include/__bits/string/string.hpp traits_type::move(new_data, data_, to_copy);
new_data 1547 uspace/lib/cpp/include/__bits/string/string.hpp std::swap(data_, new_data);
new_data 1549 uspace/lib/cpp/include/__bits/string/string.hpp allocator_.deallocate(new_data, capacity_);
new_data 48 uspace/srv/audio/hound/hound_ctx.c static errno_t new_data(audio_sink_t *sink);
new_data 71 uspace/srv/audio/hound/hound_ctx.c NULL, new_data, &AUDIO_FORMAT_DEFAULT);
HelenOS homepage, sources at GitHub