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

Selesai
Dibuat sekitar 8 tahun yang lalu

$10-30 AUD

Dibayar ketika dikirim
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.
ID Proyek: 9903914

Tentang proyek

3 proposal
Proyek remot
Aktif 8 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
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 dalam 0 hari
5,0 (9 ulasan)
3,5
3,5

Tentang klien

Bendera AUSTRALIA
melbourne, Australia
5,0
1
Memverifikasi Metode pembayaran
Anggota sejak Mar 10, 2016

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.