aboutsummaryrefslogtreecommitdiffstats
path: root/docs/cpta/trending/ip6-2n-skx-x710-78b-base-scale.rst
blob: fceabf023227b365806281e943cc9fcf72af92c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { colo
2n-skx-x710-78b-base-scale
--------------------------

2t1c
````

.. raw:: html

    <a name="x710-78b-2t1c-base-scale"></a>
    <center><b>

:index:`2n-skx-x710-ip6-78b-base-scale-2t1c-mrr`

.. raw:: html

    </b>
    Links to builds:
    <a href="https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/io/fd/vpp/vpp/" target="_blank">vpp-ref</a>,
    <a href="https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-skx" target="_blank">csit-ref</a>
    <iframe width="1100" height="800" frameborder="0" scrolling="no" src="../_static/vpp/cpta-ip6-2t1c-x710-2n-skx.html"></iframe>
    <p><br><br></p>
    </center>

4t2c
````

.. raw:: html

    <a name="x710-78b-4t2c-base-scale"></a>
    <center><b>

:index:`2n-skx-x710-ip6-78b-base-scale-4t2c-mrr`

.. raw:: html

    </b>
    Links to builds:
    <a href="https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/io/fd/vpp/vpp/" target="_blank">vpp-ref</a>,
    <a href="https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-skx" target="_blank">csit-ref</a>
    <iframe width="1100" height="800" frameborder="0" scrolling="no" src="../_static/vpp/cpta-ip6-4t2c-x710-2n-skx.html"></iframe>
    <p><br><br></p>
    </center>

8t4c
````

.. raw:: html

    <a name="x710-78b-8t4c-base-scale"></a>
    <center><b>

:index:`2n-skx-x710-ip6-78b-base-scale-8t4c-mrr`

.. raw:: html

    </b>
    Links to builds:
    <a href="https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/io/fd/vpp/vpp/" target="_blank">vpp-ref</a>,
    <a href="https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-skx" target="_blank">csit-ref</a>
    <iframe width="1100" height="800" frameborder="0" scrolling="no" src="../_static/vpp/cpta-ip6-8t4c-x710-2n-skx.html"></iframe>
    <p><br><br></p>
    </center>
an class="p">); if (strcmp (exp, (char *) test_vec)) { fformat (stdout, "FAIL: %s (expected vs. result)\n\"%s\"\n\"%v\"\n", fmt, exp, test_vec); ret = 1; } else if (verbose) fformat (stdout, "PASS: %s\n", fmt); vec_delete (test_vec, vec_len (test_vec), 0); return ret; } int test_format_main (unformat_input_t * input) { int ret = 0; u8 *food = format (0, "food"); ret |= expectation ("foo", "foo"); ret |= expectation ("foo", "%s", "foo"); ret |= expectation ("9876", "%d", 9876); ret |= expectation ("-9876", "%wd", (word) - 9876); ret |= expectation ("98765432", "%u", 98765432); ret |= expectation ("1200ffee", "%x", 0x1200ffee); ret |= expectation ("BABEBABE", "%X", 0xbabebabe); ret |= expectation ("10%a", "%d%%%c", 10, 'a'); ret |= expectation ("123456789abcdef0", "%016Lx", 0x123456789abcdef0LL); ret |= expectation ("00000123", "%08x", 0x123); ret |= expectation (" 23 23 2.3037e1", "%40U", format_test1, 23, 23.0367); ret |= expectation ("left ", "%-10s", "left"); ret |= expectation (" center ", "%=10s", "center"); ret |= expectation (" right", "%+10s", "right"); ret |= expectation ("123456", "%.0f", 123456.); ret |= expectation ("1234567.0", "%.1f", 1234567.); ret |= expectation ("foo", "%.*s", 3, "food"); ret |= expectation ("food ", "%.*s", 10, "food "); ret |= expectation ("(nil)", "%.*s", 3, (void *) 0); ret |= expectation ("foo", "%.*v", 3, food); ret |= expectation ("foobar", "%.*v%s", 3, food, "bar"); ret |= expectation ("foo bar", "%S", "foo_bar"); vec_free (food); vec_free (test_vec); return ret; } typedef struct { int a, b; } foo_t; static u8 * format_foo (u8 * s, va_list * va) { foo_t *foo = va_arg (*va, foo_t *); return format (s, "{a %d, b %d}", foo->a, foo->b); } static uword unformat_foo (unformat_input_t * i, va_list * va) { foo_t *foo = va_arg (*va, foo_t *); return unformat (i, "{%D,%D}", sizeof (foo->a), &foo->a, sizeof (foo->b), &foo->b); } int test_unformat_main (unformat_input_t * input) { u32 v[8]; long l; long long ll; f64 f; u8 *s; foo_t foo = {.a = ~0,.b = ~0 }; v[0] = v[1] = 0; while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT) { if (unformat (input, "01 %d %d", &v[0], &v[1])) fformat (stdout, "got 01 %d %d\n", v[0], v[1]); else if (unformat (input, "d %d", &v[0])) fformat (stdout, "got it d %d\n", v[0]); else if (unformat (input, "ld %ld", &l)) fformat (stdout, "got it ld %ld\n", l); else if (unformat (input, "lld %lld", &ll)) fformat (stdout, "got it lld %lld\n", ll); else if (unformat (input, "string %s", &s)) fformat (stdout, "got string `%s'\n", s); else if (unformat (input, "float %f", &f)) fformat (stdout, "got float `%.4f'\n", f); else if (unformat (input, "foo %U", unformat_foo, &foo)) fformat (stdout, "got a foo `%U'\n", format_foo, &foo); else if (unformat (input, "ignore-me1")) fformat (stdout, "got an `ignore-me1'\n"); else if (unformat (input, "ignore-me2")) fformat (stdout, "got an `ignore-me2'\n"); else if (unformat (input, "gi%d_%d@-", &v[0], &v[1])) fformat (stdout, "got `gi%d_%d@-'\n", v[0], v[1]); else if (unformat (input, "%_%d.%d.%d.%d%_->%_%d.%d.%d.%d%_", &v[0], &v[1], &v[2], &v[3], &v[4], &v[5], &v[6], &v[7])) fformat (stdout, "got %d.%d.%d.%d -> %d.%d.%d.%d", v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7]); else { clib_warning ("unknown input `%U'\n", format_unformat_error, input); return 1; } } return 0; } #ifdef CLIB_UNIX int main (int argc, char *argv[]) { unformat_input_t i; clib_mem_init (0, 3ULL << 30); verbose = (argc > 1); unformat_init_command_line (&i, argv); if (unformat (&i, "unformat")) return test_unformat_main (&i); else return test_format_main (&i); } #endif /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */