We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
int fib(int n) {return n <=1 ? 1 : fib(n-1) + fib(n-2); } int main() {fib(10); return 0;}
How to test native:
bin/clang -pg test.c && ./a.out && gprof -b a.out gmon.out
How to test cross with qemu-user
apt install gcc-s390x-linux-gnu qemu-user-static bin/clang --target=s390x-linux-gnu -pg test.c -static && ./a.out && gprof -b a.out gmon.out
Known problem:
$ bin/clang --target=s390x-linux-gnu -pg n.c -O2 -static && ./a.out && gprof -b ./a.out gmon.out Flat profile: Each sample counts as 0.01 seconds. no time accumulated % cumulative self self total time seconds seconds calls Ts/call Ts/call name
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to test native:
How to test cross with qemu-user
Known problem:
The text was updated successfully, but these errors were encountered: