Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: monitor cache-related perf events for L1D & LLC accesses/misses #121

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

fix: added missing commas in JSON Mustache-like template

78c10d9
Select commit
Loading
Failed to load commit list.
Open

Feature: monitor cache-related perf events for L1D & LLC accesses/misses #121

fix: added missing commas in JSON Mustache-like template
78c10d9
Select commit
Loading
Failed to load commit list.
Cirrus CI / linux container:ubuntu:bionic failed Nov 8, 2024 in 1m 1s

Task Summary

Instruction test failed in 00:03

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:01 clone
✅ 00:00 ccache
✅ 00:01 env
✅ 00:38 install
✅ 00:14 build
❌ 00:03 test

            "minEpochTime": {{minEpochTime}},
            "minEpochIterations": {{minEpochIterations}},
            "epochIterations": {{epochIterations}},
            "warmup": {{warmup}},
            "relative": {{relative}},
            "median(elapsed)": {{median(elapsed)}},
            "medianAbsolutePercentError(elapsed)": {{medianAbsolutePercentError(elapsed)}},
            "median(instructions)": {{median(instructions)}},
            "medianAbsolutePercentError(instructions)": {{medianAbsolutePercentError(instructions)}},
            "median(cpucycles)": {{median(cpucycles)}},
            "median(contextswitches)": {{median(contextswitches)}},
            "median(pagefaults)": {{median(pagefaults)}},
            "median(branchinstructions)": {{median(branchinstructions)}},
            "median(branchmisses)": {{median(branchmisses)}},
            "median(l1daccesses)": {{median(l1daccesses)}},
            "median(l1dmisses)": {{median(l1dmisses)}},
            "median(llcaccesses)": {{median(llcaccesses)}},
            "median(llcmisses)": {{median(llcmisses)}},
            "totalTime": {{sumProduct(iterations, elapsed)}},
            "measurements": [
{{#measurement}}                {
                    "iterations": {{iterations}},
                    "elapsed": {{elapsed}},
                    "pagefaults": {{pagefaults}},
                    "cpucycles": {{cpucycles}},
                    "contextswitches": {{contextswitches}},
                    "instructions": {{instructions}},
                    "branchinstructions": {{branchinstructions}},
                    "branchmisses": {{branchmisses}},
                    "l1daccesses": {{l1daccesses}},
                    "l1dmisses": {{l1dmisses}},
                    "llcaccesses": {{llcaccesses}},
                    "llcmisses": {{llcmisses}}
                }{{^-last}},{{/-last}}
{{/measurement}}            ]
        }{{^-last}},{{/-last}}
{{/result}}    ]
} )


|               ms/op |                op/s |    err% |     total | benchmark
|--------------------:|--------------------:|--------:|----------:|:----------
|                2.07 |              483.14 |    0.1% |      0.02 | `sleep 2ms`
|                1.07 |              935.71 |    0.1% |      0.01 | `sleep 1ms`

|        fortnight/op |                op/s |    err% |     total | benchmark
|--------------------:|--------------------:|--------:|----------:|:----------
|                0.00 |              934.37 |    0.2% |      0.01 | `sleep 1ms`

|               ps/op |                op/s |    err% |     total | benchmark
|--------------------:|--------------------:|--------:|----------:|:----------
|    1,070,990,000.00 |              933.72 |    0.2% |      0.01 | `sleep 1ms`
===============================================================================
[doctest] test cases:  40 |  39 passed | 1 failed | 2 skipped
[doctest] assertions: 125 | 124 passed | 1 failed |
[doctest] Status: FAILURE!