Find Jobs
Hire Freelancers

create multiple threads and perform a timing analysis on when and how the threads are being executed in a time sharing multiprogramming system, using c programme.

$10-30 AUD

Completed
Posted about 8 years ago

$10-30 AUD

Paid on delivery
create multiple threads and perform a timing analysis on when and how the threads are being executed in a time sharing multiprogramming system. In part II (more details to be provided later), you will analyse the Part-1 program submitted by another student, to try to find security vulnerabilities in the program. The program requires two command line arguments to execute and they are: 1. numthreads – an integer value that specifies how many threads will be created, and 2. increment – the number of integer values that each thread will work with. The program creates the specified number of threads and assigns to each one of them an interval of integer values, say (a, b), where a is the starting value and (b-1) is the end value. Each thread computes a value s, which is based on your student-id, choose one of the following for implementation: If your student-id mod 3 = 0, then do this: the summation of the integers in its interval, that is: a + (a+1) + (a+2) + . . . + (b-2) + (b-1). In other words you compute the sum of the integers. Once this program is working, compute the time it takes to execute the program. You can use the time function in Unix. Extend the program further so that each thread will compute the time it takes to execute individually and print the result. For this you may want to use the gettimeofday and ctime functions in the C programming language, or any other appropriate time functions.
Project ID: 9903914

About the project

3 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, i am expert in java/c/c++ and i can deliver any task in least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first check your work then release the payments. Pm me for further details. Thank You!
$98 AUD in 0 day
5.0 (9 reviews)
3.5
3.5

About the client

Flag of AUSTRALIA
melbourne, Australia
5.0
1
Payment method verified
Member since Mar 10, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.