mirror of
https://github.com/kuhyx/praca_magisterska.git
synced 2026-07-04 18:43:14 +02:00
* Initial plan * Add comprehensive thesis completion game plan (deadline Feb 10) Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Add quick start guide and daily progress tracking template Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Add visual tracker and planning system overview Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Update work schedule to 4hrs weekdays, 8hrs weekends (144 total hrs) Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Update dates to Jan 16-Feb 15, add helper scripts for data collection Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Add complete LaTeX content for chapters 5-8, graph generation script, auto-compile script Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Add extensive citations throughout chapters, fix Linux-specific issues, replace subjective language with objective data Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Fix CI pipeline: use test_pdf instead of test target in workflow Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> * Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
3.6 KiB
3.6 KiB
Scripts Directory
This directory contains helper scripts for thesis work and data collection.
Hardware Specs Script
get_hardware_specs.sh
Purpose: Automatically retrieve hardware specifications and format them for LaTeX.
Usage:
cd /home/runner/work/praca_magisterska/praca_magisterska/scripts
./get_hardware_specs.sh
Output:
- Creates
hardware_specs.texin the current directory - Contains LaTeX-formatted hardware information ready to copy into Chapter 4
What it captures:
- CPU model, cores, and threads
- GPU model and memory (if NVIDIA GPU available)
- RAM amount
- Operating system and kernel version
- Disk space
Next steps:
- Run the script
- Review the generated
hardware_specs.texfile - Update Unity, Unreal Engine, and NVIDIA Nsight version numbers
- Copy the content to
latex/tex/4-metodologia.tex
Test Scenarios Document
test_scenarios.md
Purpose: Comprehensive guide for performance testing methodology.
Contents:
- Detailed test scenarios (Low, Medium, High difficulty)
- Performance metrics to capture
- Step-by-step data collection procedure
- Quality assurance checklist
- Expected outputs and timeline
How to use:
- Read through the entire document before starting tests
- Follow the procedure for each scenario
- Use as a checklist during testing
- Reference when writing Chapter 5 (Performance Tests)
Unity Testing Helper
run_unity_test.sh
Purpose: Interactive guide for running Unity performance tests with NVIDIA Nsight.
Usage:
cd /home/runner/work/praca_magisterska/praca_magisterska/scripts
./run_unity_test.sh
Features:
- Interactive prompts for scenario selection (Low/Medium/High)
- Pre-test checklist reminder
- Timed prompts for frame captures at correct intervals
- File naming conventions for organized data
- Step-by-step guidance through the testing process
What it does:
- Checks if NVIDIA Nsight is installed
- Prompts for scenario selection
- Guides through pre-test setup
- Provides timed reminders for 5 frame captures
- Reminds about exporting metrics and taking screenshots
Output organization:
unity_[scenario]_capture_[1-5].nsight- Nsight capture filesunity_[scenario]_capture_[1-5]_metrics.csv- Exported metricsscreenshots/unity/[scenario]/*.png- Screenshots
Creating Additional Scripts
If you need to create more helper scripts, follow these conventions:
- Naming: Use lowercase with underscores (e.g.,
analyze_results.sh) - Permissions: Make executable with
chmod +x script_name.sh - Documentation: Add a section to this README explaining the script
- Error handling: Include checks for required tools/files
- Output: Save generated files to appropriate directories
Tips for Using Scripts
- Run from repository root: Most scripts assume you're in the main repository directory
- Check dependencies: Scripts may require
nvidia-smi,lscpu, etc. - Review outputs: Always review generated files before using them in the thesis
- Customize as needed: Scripts are templates - adjust for your specific setup
Troubleshooting
"Command not found" errors:
- Ensure the script is executable:
chmod +x script_name.sh - Run with explicit bash:
bash script_name.sh
NVIDIA tools not found:
- Verify NVIDIA Nsight Graphics is installed
- Add to PATH or use full path to executable
Permission denied:
- Scripts need execute permission:
chmod +x script_name.sh - May need to run some system info commands with appropriate permissions
Last updated: January 14, 2026