1. calling structure
ruby/tester/main.C: main() ->
ruby/tester/test_framework.C: tester_main() ->
ruby/tester/test_framework.C: tester_initialize() ->
In tester_initialize(), create a new object initvar_t:
152 initvar_t *ruby_initvar = new initvar_t( "ruby", "../../../ruby/",
153 default_param,
154 &tester_allocate,
155 &tester_generate_values,
156 NULL,
157 NULL );
|
tester_allocate is a function calling init_simulator(), which initials simulator, such as create a System object ect.
128 static
阅读(1557) | 评论(0) | 转发(0) |
|