Changeset 4722

Show
Ignore:
Timestamp:
06/16/08 16:25:26 (6 months ago)
Author:
xmlhacker
Message:

for testing multiple processes from the commandline

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/nuxleus/Source/CodeSamples/AwsSdbSOAP_Test/Program.cs

    r4715 r4722  
    2828            stopwatch.Start(); 
    2929            agent.Initialize(); 
    30             agent.Invoke<XElement>(); 
     30            agent.Invoke<XElement>(args[0]); 
    3131            stopwatch.Stop(); 
    3232 
  • trunk/nuxleus/Source/Nuxleus.Extension.Aws/Agent.cs

    r4721 r4722  
    3535        } 
    3636 
    37         public void Invoke<T>() { 
     37        public void Invoke<T>(string fileName) { 
    3838            Scope scope = new Scope(); 
    3939            scope += profiler.Scope; 
     
    4646                using (WorkerQueue q = new WorkerQueue(m_workers)) { 
    4747                    List<string> lines = new List<string>(); 
    48                     using (StreamReader csvReader = new StreamReader("AD.txt", Encoding.UTF8, true)) { 
     48                    using (StreamReader csvReader = new StreamReader(fileName, Encoding.UTF8, true)) { 
    4949                        string inputLine; 
    5050                        while ((inputLine = csvReader.ReadLine()) != null) {