Commit 1373afe4 authored by Martin Karsten's avatar Martin Karsten

- clerical update

parent fe58b27f
...@@ -84,7 +84,7 @@ pwebserver: webserver.cpp include/pthreads.h ...@@ -84,7 +84,7 @@ pwebserver: webserver.cpp include/pthreads.h
$(CXX) -Iinclude -DVARIANT=\"pthreads.h\" $(CXXFLAGS) -DPTHREADS $< -o $@ -lpthread -lrt $(CXX) -Iinclude -DVARIANT=\"pthreads.h\" $(CXXFLAGS) -DPTHREADS $< -o $@ -lpthread -lrt
uwebserver: webserver.cpp include/u++.h uwebserver: webserver.cpp include/u++.h
u++ -Iinclude -DVARIANT=\"u++.h\" $(CXXFLAGS) -multi -nodebug $< -o $@ -lrt u++-web -Iinclude -DVARIANT=\"u++.h\" $(CXXFLAGS) -multi -nodebug $< -o $@ -lrt
pordering: ordering.cpp pordering: ordering.cpp
$(CXX) $(LANGFLAGS) $(OPTFLAGS) $< -o $@ -lpthread $(CXX) $(LANGFLAGS) $(OPTFLAGS) $< -o $@ -lpthread
......
...@@ -441,6 +441,9 @@ int main(int argc, char** argv) { ...@@ -441,6 +441,9 @@ int main(int argc, char** argv) {
unsigned long long lstd = (unsigned long long)sqrt(lsum2 / lockCount - pow(lavg, 2)); unsigned long long lstd = (unsigned long long)sqrt(lsum2 / lockCount - pow(lavg, 2));
cout << "lock - total: " << wsum << " rate: " << wsum/duration << " fairness: " << lavg << '/' << lstd << endl; cout << "lock - total: " << wsum << " rate: " << wsum/duration << " fairness: " << lavg << '/' << lstd << endl;
// exit hard for performance experiments
exit(0);
// clean up // clean up
delete [] workers; delete [] workers;
delete [] locks; delete [] locks;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment