subject

Write one c program to measure the average time to create a thread using pthread_create() and to create a process using

1. use a for loop to create 300 threads using and measure the total time to create these 300 threads. then compute its average;
2. use a for loop to create 300 processes using and measure the total time to create these 300 processes. then compute its average;
briefly describe the reasons for the difference in timings.
it needs to use gettimeofday() to retrieve the system time.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
Which of the following statements best describes it careers?
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
One of your customers wants you to build a personal server that he can use in his home. one of his concerns is making sure he has at least one backup of their data stored on the server in the event that a disk fails. you have decided to back up his data using raid. since this server is for personal use only, the customer wants to keep costs down. therefore, he would like to keep the number of drives to a minimum. which of the following raid systems would best meet the customer's specifications? a. raid 0 b. raid 1 c. raid 5 d. raid 10
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 23.06.2019 08:30
When you interpret the behavior of others according to your experiences and understanding of the world your evaluation is
Answers: 1
You know the right answer?
Write one c program to measure the average time to create a thread using pthread_create() and to cre...
Questions
Questions on the website: 13722367