文件名称:papi_parallel
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
Programs Descr iption
1. Program Name : papi-pthreads-find-min-value.c
Descr iption : The program randomly generated the list of integers.The list
of integers is partitioned equally among the threads. The
size of each threads partition of stored in a variable and
the pointer to the start of each threads partial list is
passed to it as a pointer.The minimum value is protected by
the mutex-lock .Threads execute the mutex lock to gain
exclusive access to the minimum value. Once this access is
gained, the value is updated as required, and the lock
subsequently released. Since at any time, only one thread
can hold the lock, only one thread can update the value. As
each thread does the work, an event set is created with the
events PAPI_TOT_INS, PAPI_TOT_CYC, & PAPI_LST_INS and these
events data for each thread are captured.
Compilation :
For compiling the codes, use the Makefile provided with make utility.
-Programs Descr iption
1. Program Name : papi-pthreads-find-min-value.c
Descr iption : The program randomly generated the list of integers.The list
of integers is partitioned equally among the threads. The
size of each threads partition of stored in a variable and
the pointer to the start of each threads partial list is
passed to it as a pointer.The minimum value is protected by
the mutex-lock .Threads execute the mutex lock to gain
exclusive access to the minimum value. Once this access is
gained, the value is updated as required, and the lock
subsequently released. Since at any time, only one thread
can hold the lock, only one thread can update the value. As
each thread does the work, an event set is created with the
events PAPI_TOT_INS, PAPI_TOT_CYC, & PAPI_LST_INS and these
events data for each thread are captured.
Compilation :
For compiling the codes, use the Makefile provided with make utility.
1. Program Name : papi-pthreads-find-min-value.c
Descr iption : The program randomly generated the list of integers.The list
of integers is partitioned equally among the threads. The
size of each threads partition of stored in a variable and
the pointer to the start of each threads partial list is
passed to it as a pointer.The minimum value is protected by
the mutex-lock .Threads execute the mutex lock to gain
exclusive access to the minimum value. Once this access is
gained, the value is updated as required, and the lock
subsequently released. Since at any time, only one thread
can hold the lock, only one thread can update the value. As
each thread does the work, an event set is created with the
events PAPI_TOT_INS, PAPI_TOT_CYC, & PAPI_LST_INS and these
events data for each thread are captured.
Compilation :
For compiling the codes, use the Makefile provided with make utility.
-Programs Descr iption
1. Program Name : papi-pthreads-find-min-value.c
Descr iption : The program randomly generated the list of integers.The list
of integers is partitioned equally among the threads. The
size of each threads partition of stored in a variable and
the pointer to the start of each threads partial list is
passed to it as a pointer.The minimum value is protected by
the mutex-lock .Threads execute the mutex lock to gain
exclusive access to the minimum value. Once this access is
gained, the value is updated as required, and the lock
subsequently released. Since at any time, only one thread
can hold the lock, only one thread can update the value. As
each thread does the work, an event set is created with the
events PAPI_TOT_INS, PAPI_TOT_CYC, & PAPI_LST_INS and these
events data for each thread are captured.
Compilation :
For compiling the codes, use the Makefile provided with make utility.
相关搜索: PAPI
(系统自动生成,下载前可以参看下载内容)
下载文件列表
papi_parallel\papi-parallel\Makefile
.............\.............\papi-pthreads-find-min-value.c
.............\.............\Readme.txt
.............\papi-parallel
papi_parallel
.............\.............\papi-pthreads-find-min-value.c
.............\.............\Readme.txt
.............\papi-parallel
papi_parallel