Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
test_mmx.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include "../../include.mie/mie_thread.h"
#include "xbyak/xbyak.h"
Include dependency graph for test_mmx.cpp:

Go to the source code of this file.

Classes

class  WriteMMX
 
class  ReadMMX
 
class  Test
 

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 58 of file test_mmx.cpp.

59{
60#ifdef XBYAK32
61 puts("32bit");
62#else
63 puts("64bit");
64#endif
65 try {
66 int n = atoi(argc == 1 ? "1223" : argv[1]);
67 Test test0(n), test1(n + 1);
68 test0.beginThread();
69 test1.beginThread();
70
71 test0.joinThread();
72 test1.joinThread();
73 } catch (std::exception& e) {
74 printf("ERR:%s\n", e.what());
75 } catch (...) {
76 printf("unknown error\n");
77 }
78}
void test1()
char ** argv
LOGGING_API void printf(Category category, const char *format,...)
Definition Logging.cpp:30
Here is the call graph for this function: