[go: up one dir, main page]

File: t289_exception5.py

package info (click to toggle)
uftrace 0.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,356 kB
  • sloc: ansic: 49,770; python: 11,181; asm: 837; makefile: 769; sh: 637; cpp: 627; javascript: 191
file content (19 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python3

from runtest import TestBase

class TestCase(TestBase):
    def __init__(self):
        TestBase.__init__(self, 'exception5', lang='C++', result="""
# DURATION     TID     FUNCTION
            [289342] | main() {
            [289342] |   f() {
   1.867 us [289342] |     __cxa_guard_acquire();
            [289342] |     A::A() {
   1.739 us [289342] |       __cxa_allocate_exception();
   1.336 us [289342] |       __cxa_guard_abort();
  69.934 us [289342] |     } /* A::A */
   1.085 us [289342] |     __cxa_guard_release();
  77.687 us [289342] |   } /* f */
  78.594 us [289342] | } /* main */
""")