Commit Graph

207 Commits

Author SHA1 Message Date
Gabriel Ferreira
69294ddbd8 doc: additional information regarding Waf-to-CMake migration 2023-02-01 16:46:15 +00:00
Wouter Overmeire
f523ee2c9d doc: Add missing colon to test-framework.rst 2023-01-14 07:26:23 -08:00
Peter D. Barnes, Jr
f51780101a doc: remove space in nested templates 2023-01-05 23:47:13 +00:00
Peter D. Barnes, Jr
700543b01a doc: remove space before paren in code samples 2023-01-05 23:47:13 +00:00
Peter D. Barnes, Jr
820c029e8b doc: (void)' -> ()' in documentation 2023-01-05 23:47:13 +00:00
Tommaso Pecorella
51721531ef doc: highlight how to keep your fork in sync with nsnam/master 2022-12-23 05:30:24 +00:00
Gabriel Ferreira
4abe5fa5d5 doc: add a NinjaTracing section to the manual 2022-11-27 16:09:31 +00:00
Tommaso Pecorella
a9223622da network: make addresses ConvertTo public and simplify python scripts 2022-11-25 01:36:26 +00:00
Tom Henderson
65fa318a0c doc: Update documentation about making releases 2022-11-02 07:01:09 -07:00
Tom Henderson
4022b97d2f doc: Update Python documentation 2022-10-26 20:57:27 -07:00
Gabriel Ferreira
12373157a4 bindings, docs: pass strings via char* to CommandLine.AddValue
And supplement memory-management issues section
2022-10-25 23:17:55 -03:00
Gabriel Ferreira
642ffe8361 build, doc: add options to run with Heaptrack, Memray or Perf profilers 2022-10-17 23:04:49 -03:00
Eduardo Almeida
33ff238ccb doc, visualizer: Remove obsolete defines 2022-10-15 20:16:21 +00:00
Gabriel Ferreira
6ac24de27c doc: fix typos in Windows docs 2022-10-12 20:58:14 -03:00
Gabriel Ferreira
8f250053b5 doc: add missing line to default Vagrantfile contents for Windows 2022-10-12 11:31:30 -03:00
Gabriel Ferreira
72240683a6 doc: Windows section
Includes:
- Native Windows shells usage (CMD/PowerShell)
- Unix-like shells (Msys2/Bash)
- Installation instructions
- Packaging instructions for Docker container and Vagrant VM
2022-10-10 20:09:59 -03:00
Eduardo Almeida
3d9e2d39b7 doc: Convert tabs to spaces 2022-10-06 19:49:38 +00:00
Peter Barnes
41fed49054 utils: update bench-scheduler to report average and stdev, use 64-bit counters 2022-10-04 23:09:25 +00:00
Gabriel Ferreira
f8846d22ed build: add STANDALONE option to build_exec and fix static builds 2022-09-24 15:04:53 -03:00
Gabriel Ferreira
81155c18c7 build, docs: Add option to limit build and testing to specified modules 2022-09-19 21:55:26 +00:00
Gabriel Ferreira
604302a417 docs: Fix typos in PCH documentation 2022-09-19 21:55:26 +00:00
Gabriel Ferreira
3e43ef1742 build, docs: Replace python-based with cmake-based .ns3rc files 2022-09-19 21:55:26 +00:00
Gabriel Ferreira
24ee65fb23 docs: Add documentation on how to define executable targets in CMake
Includes the new `build_exec` macro.
2022-09-17 11:13:38 +00:00
Stefano Avallone
7193a5f96d network: Add a function to test header (de)serialization 2022-08-31 07:16:10 +00:00
Gabriel Ferreira
6ac76bd9a2 doc: update python bindings docs to use cppyy 2022-08-01 21:24:02 +00:00
Peter D. Barnes, Jr
1bf56b7697 utils: (merges !1000) Rename and refactor bench-simulator -> bench-scheduler
Add --all option to benchmark all schedulers.
2022-07-13 17:32:56 -07:00
Gabriel Ferreira
cc9928f8a1 doc: document CCache and PCH settings 2022-07-01 22:07:40 -03:00
Gabriel Ferreira
60e1e4032c fixing dead links 2022-06-18 17:57:05 -03:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Gabriel Ferreira
6a9a3b1f51 doc: add short version on how to find and use third-party libraries 2022-05-29 15:34:53 +00:00
Gabriel Ferreira
df884c1f2e doc: fix gitlab-ci-local link and compiler flags table 2022-05-29 15:34:53 +00:00
Eduardo Almeida
6f9622ccc0 doc: Fix indentation on gnuplot.rst 2022-05-26 17:14:03 -07:00
Eduardo Almeida
201676fca7 Remove "using namespace std;" from codebase 2022-05-26 17:14:03 -07:00
Tommaso Pecorella
64a51b15ac doc: fix apiscan-all example 2022-05-26 17:07:11 +00:00
Tom Henderson
29d201eef8 doc: Fix copy-paste error in Docker section of Python API scanning 2022-04-25 18:23:51 -07:00
Tom Henderson
ccf26928d5 doc: Update manual for Python API scanning (gitlab-ci-local) 2022-04-18 14:04:33 -07:00
Tom Henderson
72c64cd500 doc: Update manual for Python API scanning 2022-04-17 15:46:35 -07:00
Tom Henderson
d511fdce79 doc: Update Python API scanning commands 2022-04-02 13:32:30 -07:00
Gabriel Ferreira
d3f9e0742f build, doc: add "--trace-performance" argument to ns3 configure 2022-04-01 14:50:21 -03:00
Gabriel Ferreira
cbb7628473 build, docs: fixes find_external_library header search paths and docs
Includes:
- search for headers in the library directory when using find_external_library
- prevent module processing (brite, click and openflow) from continuing if ${dependency_name}_FOUND is not set
2022-03-25 23:30:04 -03:00
Gabriel Ferreira
3ee4eb41cb build: fix remaining "lib" prefix removal steps in CMake 2022-03-17 21:48:01 -03:00
Gabriel Ferreira
2298d97452 doc: update build profile docs and add CMake profiling subsection 2022-03-13 21:23:47 +00:00
Gabriel Ferreira
fbebb61a6f build: refactoring CMake and ns3
Includes:
- summarize ns3 commands on top-level --help
- add --quiet as a post-positional argument
- refactor verbose variable names
- aggregate ./ns3 --check-config|profile|version into ./ns3 show config|profile|version
- remove ns3 --check deprecated option
- set VERBOSE environment variable when building/running with -v/--verbose
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590#note_870520212
- enable verbose Makefiles when NS3_VERBOSE is enabled
  https://gitlab.com/nsnam/ns-3-dev/-/issues/590
- introduce default build profile and refactor others
  https://gitlab.com/nsnam/ns-3-dev/-/issues/591
- use "-Og" in "CMAKE_BUILD_TYPE=Debug"/"ns3 -d debug"
- add back FindPython3 and fallback to FindPythonInterp if needed
- redirect pybindgen apiscan output to apiscan.log
- enable CMAKE_FIND_DEBUG_MODE with NS3_VERBOSE and CMake >= 3.17
- add search path logging to find_external_library
  Requires NS3_VERBOSE=ON. This is an anternative to CMAKE_FIND_DEBUG_MODE=true available in CMake >= 3.17
- remove C support
- reduce Int128 checks
- fuse Boost Units Quantity and SI header checks
- replace not found messages with skipping
2022-03-13 21:23:47 +00:00
Gabriel Ferreira
f728b1f8d0 doc: complement how CMake searches for external libraries 2022-03-13 21:23:47 +00:00
Tommaso Pecorella
1ada1e8db1 doc: add section on GitLab CI skip option 2022-03-05 03:24:03 +01:00
Gabriel Ferreira
4aedba2f00 build: CMake refactoring and fixes
Includes:
- fix int64x64 parsing order, remove cached entries in macros-and-definitions and in the docs
- update launch.json scratch names
- add a ctest entry per executable
- forward POSIX signal in ns3 (to get segmentation fault)
- prioritize Ninja generator instead of Makefiles
- add tests for unused utils source files
- remove dummy file and add tests to check for unused source files
- add missing examples and clean up unnecessary definitions
- missing feature entry for LTE used by pybindgen
- refactor CMake related filenames
- fix python libraries and include directories bindings
- fix brite example name
- Keep C++ compiler and flags when refreshing
- Disable precompiled headers when Ccache is found
- Mark find_external_library headers as advanced
- consolidate auxiliary files: build-status.py, _cache.py and .lock-waf_sys.platform_build files are merged into .lock-ns3_sys.platform_build
- scan .cc sources used in bindings and update docs
2022-02-21 22:18:42 -03:00
Gabriel Ferreira
e3575d031d doc: add profiling and gitlab-ci-local sections to the manual
Includes:
- Profilers
 - Memory profilers:
   - Heaptrack
   - Sanitizers
   - Valgrind
 - Performance profilers:
   - AMD uProf
   - Intel VTune
   - Linux's Perf with Hotspot
 - Syscall profilers:
   - Strace
 - Compilation profilers:
   - GCC -ftime-report
   - Clang -ftime-trace and ClangBuildAnalyzer
- Gitlab-CI-Local
  - GitLab CI introduction
  - Rootless docker
  - Using gitlab-ci-local
2022-02-18 17:06:26 +00:00
Gabriel Ferreira
42e320d676 doc: CMake docs 2022-02-08 18:40:09 -03:00
Gabriel Ferreira
33f2ee841b doc: update ns3 API 2022-01-19 16:25:03 -03:00
Peter D. Barnes, Jr
d689d74798 doc: refactor Manual, add Simulator, Time and Scheduler sections 2021-12-28 06:53:15 -08:00