игра брюс 2048
Главная / Программирование / Introduction to performance optimization using Intel SW tools / Тест 2

Introduction to performance optimization using Intel SW tools - тест 2

Упражнение 1:
Номер 1
 What is VTune™ Performance  Analyzer for?

Ответ:

 (1) optimizing applications 

 (2) analyzing application performance 

 (3) decreasing application size 

 (4) speedup application compilation 


Номер 2
 What kind of information is obtainable via VTune?

Ответ:

 (1) where the time is spent 

 (2) why the program is not effective 

 (3) where the dead code is 

 (4) where the code has wrong formatting 

 (5) where to improve the code 


Номер 3
 What is the requirements of VTune?

Ответ:

 (1) use only С++ 

 (2) each source file must be not more than 150 kb 

 (3) header files must match to the VTune standard 

 (4) none of the answers 


Упражнение 2:
Номер 1
 VTune supports:

Ответ:

 (1) only C/C++ 

 (2) only languages, supported by Intel compiler 

 (3) only languages, supported by Microsoft Visual Studio 

 (4) none of the answers 


Номер 2
 What operation system VTune supports?

Ответ:

 (1) OS/2 

 (2) VAX-VMS 

 (3) PDP-11 

 (4) Windows 

 (5) Linux 


Номер 3
 What abilities does VTune has?

Ответ:

 (1) Microsoft Visual Studio integration 

 (2) multicore and multiprocessor support 

 (3) wrong memory access detection 

 (4) processor event collecting 

 (5) processor wasted energy counting 


Упражнение 3:
Номер 1
 What analysis types are included in VTune?

Ответ:

 (1) Hotspots 

 (2) Locks and Waits 

 (3) Valgrind 

 (4) Concurrency 


Номер 2
 What are functions of the Hotspots? 

Ответ:

 (1) detecting places with potentially ineffective code 

 (2) showing thread activity 

 (3) showing microarcitecture problems 

 (4) provides binary instrumentation of the user program 


Номер 3
 What is profiling?

Ответ:

 (1) binary instrumentation 

 (2) events collecting 

 (3) rebuild of the entire project 

 (4) use manual writing 


Упражнение 4:
Номер 1
 What are locks and waits for? 

Ответ:

 (1) detecting critical memory parts and corresponding critical code parts for each piece of memory 

 (2) collecting thread wait count and time 

 (3) collecting function call sequence 


Номер 2
 What event corresponds processor clock ticks?

Ответ:

 (1) L2_LINES_IN.SELF.DEMAND 

 (2) BUS_TRANS_ANY.ALL_AGENTS 

 (3) CPU_CLK_UNHALTED.CORE 

 (4) none of answers 


Номер 3
 What event corresponds wrong branch prediction?

Ответ:

 (1) L2_LINES_IN.SELF.DEMAND 

 (2) INST_RETIRED.ANY 

 (3) BR_INST_RETIRED.MISPRED 

 (4) none of answers 


Упражнение 5:
Номер 1
 What may be cause of ineffective resource utilization?

Ответ:

 (1) resource concurrency 

 (2) bottlenecks 

 (3) big amount of data dependencies 

 (4) sequential command execution 


Номер 2
What is critical code?

Ответ:

 (1) code executed more frequently 

 (2) code, which could be deleted without any changes in results 

 (3) wrong code 

 (4) code, which is not proved to be correct 

 (5) undocumented code 


Номер 3
 What conditions can prevent vectorization?

Ответ:

 (1) nothing 

 (2) dependency between different iterations 

 (3) data dependencies 

 (4) lack of data dependencies 

 (5) lack of iteration dependencies 




Главная / Программирование / Introduction to performance optimization using Intel SW tools / Тест 2