You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							24 lines
						
					
					
						
							535 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							24 lines
						
					
					
						
							535 B
						
					
					
				
								#include <timer/scoped_timer.hpp>
							 | 
						|
								
							 | 
						|
								// #include <primitive_process.hpp>
							 | 
						|
								
							 | 
						|
								int main()
							 | 
						|
								{
							 | 
						|
								    labelled_timers_manager timer{};
							 | 
						|
								
							 | 
						|
								    // box_descriptor_t box{
							 | 
						|
								    //     {0., 0., 0.},
							 | 
						|
								    //     {1., 1., 1.}
							 | 
						|
								    // };
							 | 
						|
								    // primitive_node_t node{PRIMITIVE_TYPE_BOX, &box};
							 | 
						|
								
							 | 
						|
								    // timer.push_timer("run-time under 10^6 loops (old)");
							 | 
						|
								
							 | 
						|
								    // for (auto i = 0; i < 1'000'000; ++i) { auto result = evaluate(node, Eigen::Vector3d::Ones() * 2); }
							 | 
						|
								
							 | 
						|
								    // timer.pop_timer("run-time under 10^6 loops (old)");
							 | 
						|
								
							 | 
						|
								    // timer.print();
							 | 
						|
								
							 | 
						|
								    return 0;
							 | 
						|
								}
							 |