954,506 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

automatically insert code after every read and write inside a loop in a c program

Hi

I want to automate the lrpd test which essentially involves
inserting a few lines of code after every read and write inside
a loop in a c program.
Whats the easiest way to do it.

Regards

anshumm
Newbie Poster
2 posts since Apr 2008
Reputation Points: 10
Solved Threads: 0
 

Perhaps you should explain what a "lrpd test" actually entails.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

Thanks for replying to my query

if in a loop a shared array is being used the then to find out if
their are no cross iteration dependencies lrpd test is used
It involves marking arrays Ar[i] and Aw[i] after a read and write to the ith element of shared array A .
I have to somehow do something related to this and show it to my proffesor.Please help

anshumm
Newbie Poster
2 posts since Apr 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You