Release 4.14 tools/perf/ui/progress.c
// SPDX-License-Identifier: GPL-2.0
#include <linux/kernel.h>
#include "../cache.h"
#include "progress.h"
static void null_progress__update(struct ui_progress *p __maybe_unused)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Namhyung Kim | 7 | 63.64% | 1 | 33.33% |
Arnaldo Carvalho de Melo | 4 | 36.36% | 2 | 66.67% |
Total | 11 | 100.00% | 3 | 100.00% |
static struct ui_progress_ops null_progress__ops =
{
.update = null_progress__update,
};
struct ui_progress_ops *ui_progress__ops = &null_progress__ops;
void ui_progress__update(struct ui_progress *p, u64 adv)
{
u64 last = p->curr;
p->curr += adv;
if (p->curr >= p->next) {
u64 nr = DIV_ROUND_UP(p->curr - last, p->step);
p->next += nr * p->step;
ui_progress__ops->update(p);
}
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Arnaldo Carvalho de Melo | 41 | 57.75% | 1 | 33.33% |
Jiri Olsa | 25 | 35.21% | 1 | 33.33% |
Namhyung Kim | 5 | 7.04% | 1 | 33.33% |
Total | 71 | 100.00% | 3 | 100.00% |
void ui_progress__init(struct ui_progress *p, u64 total, const char *title)
{
p->curr = 0;
p->next = p->step = total / 16 ?: 1;
p->total = total;
p->title = title;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Arnaldo Carvalho de Melo | 33 | 64.71% | 1 | 33.33% |
Namhyung Kim | 15 | 29.41% | 1 | 33.33% |
Jiri Olsa | 3 | 5.88% | 1 | 33.33% |
Total | 51 | 100.00% | 3 | 100.00% |
void ui_progress__finish(void)
{
if (ui_progress__ops->finish)
ui_progress__ops->finish();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Namhyung Kim | 16 | 88.89% | 1 | 50.00% |
Arnaldo Carvalho de Melo | 2 | 11.11% | 1 | 50.00% |
Total | 18 | 100.00% | 2 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Arnaldo Carvalho de Melo | 86 | 47.51% | 2 | 28.57% |
Namhyung Kim | 63 | 34.81% | 2 | 28.57% |
Jiri Olsa | 31 | 17.13% | 2 | 28.57% |
Greg Kroah-Hartman | 1 | 0.55% | 1 | 14.29% |
Total | 181 | 100.00% | 7 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.