Release 4.10 tools/perf/ui/progress.c
#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 | namhyung kim | 7 | 63.64% | 1 | 33.33% |
arnaldo carvalho de melo | 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)
{
p->curr += adv;
if (p->curr >= p->next) {
p->next += p->step;
ui_progress__ops->update(p);
}
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
arnaldo carvalho de melo | arnaldo carvalho de melo | 41 | 89.13% | 1 | 50.00% |
namhyung kim | namhyung kim | 5 | 10.87% | 1 | 50.00% |
| Total | 46 | 100.00% | 2 | 100.00% |
void ui_progress__init(struct ui_progress *p, u64 total, const char *title)
{
p->curr = 0;
p->next = p->step = total / 16;
p->total = total;
p->title = title;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
arnaldo carvalho de melo | arnaldo carvalho de melo | 33 | 68.75% | 1 | 50.00% |
namhyung kim | namhyung kim | 15 | 31.25% | 1 | 50.00% |
| Total | 48 | 100.00% | 2 | 100.00% |
void ui_progress__finish(void)
{
if (ui_progress__ops->finish)
ui_progress__ops->finish();
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
namhyung kim | namhyung kim | 16 | 88.89% | 1 | 50.00% |
arnaldo carvalho de melo | 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 | arnaldo carvalho de melo | 86 | 57.72% | 2 | 50.00% |
namhyung kim | namhyung kim | 63 | 42.28% | 2 | 50.00% |
| Total | 149 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.