Last change
on this file since 657 was
637,
checked in by alain, 5 years ago
|
Introduce the non-standard pthread_parallel_create() system call
and re-write the <fft> and <sort> applications to improve the
intrinsic paralelism in applications.
|
File size:
812 bytes
|
Line | |
---|
1 | /////////////////////////////////////////////////////////////////////////////// |
---|
2 | // File : idbg.c |
---|
3 | // Date : May 2018 |
---|
4 | // Author : Alain Greiner <alain.greiner@lip6.fr> |
---|
5 | /////////////////////////////////////////////////////////////////////////////// |
---|
6 | // This single thread interactive debuger can be used to access and display |
---|
7 | // various kernel structures |
---|
8 | /////////////////////////////////////////////////////////////////////////////// |
---|
9 | |
---|
10 | #include <stdlib.h> |
---|
11 | #include <stdio.h> |
---|
12 | #include <almosmkh.h> |
---|
13 | |
---|
14 | /////////// |
---|
15 | void main( void ) |
---|
16 | { |
---|
17 | unsigned long long cycle; |
---|
18 | unsigned int cxy; |
---|
19 | unsigned int lid; |
---|
20 | |
---|
21 | get_cycle( &cycle ); |
---|
22 | get_core_id( &cxy , &lid ); |
---|
23 | |
---|
24 | printf( "\n[IDBG] starts on core[%x,%d] / cycle %d\n", |
---|
25 | cxy , lid , (unsigned int)cycle ); |
---|
26 | |
---|
27 | idbg(); |
---|
28 | |
---|
29 | } // end main() |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.